12 2015 档案

摘要:typedef struct Student{ int sid; char name[5]; char sex; }* PST, STU;//PST等价于struct Student *, STU等价于struct StudentView Code 阅读全文
posted @ 2015-12-30 17:08 tkid 阅读(135) 评论(0) 推荐(0)
摘要:break 语句的两种用途:-->在switch语句中结束一个case-->越过常规循环条件的测试,立即强制终止循环。(需要根据某些特殊条件立即终止循环时常用)【例如】for(int i=0; i 对于for 语句:continue使循环从条件判断处重新开始。--> 对于while和do-while... 阅读全文
posted @ 2015-12-14 21:34 tkid 阅读(174) 评论(0) 推荐(0)