心得 1.for(;;)是一个死循环,如不采取措施(如break)则不会结束 2.数组越界 3.数组初始化 int a[5]={}; memset(a,0,sizeof(a));//#include<cstring>