随笔分类 -  常用操作

摘要:freopen("out.txt","w",stdout);//输出至out.txt,写在printf之前 printf("1\n1\n1\n"); fclose(stdout);//关闭文件 阅读全文
posted @ 2019-11-09 16:41 Cherlie 阅读(184) 评论(0) 推荐(0)
摘要:链式前向星的特点 阅读全文
posted @ 2019-10-11 19:27 Cherlie 阅读(164) 评论(0) 推荐(0)
摘要:1 inline int read(){ 2 int x=0,f=1; 3 char ch=getchar(); 4 while(ch'9'){ 5 if(ch=='-') 6 f=-1; 7 ch=getchar(); 8 } 9 while(ch>='0'&&ch<='9'){ ... 阅读全文
posted @ 2019-09-19 20:41 Cherlie 阅读(130) 评论(0) 推荐(0)