摘要: 有时候运行c 第一行printf就像卡住一样。原来是这样《》》》》》》》 int a; printf_s("input one number:"); fflush(stdout);\\#1 scanf_s("%d",&a); 如果没有#1那行代码,在某些平台上就可能迟迟看不到"input one n 阅读全文
posted @ 2019-12-14 19:17 哒啉 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 今个那老哥替我刷题,然后遇到一个打印中文编码得问题,我多嘴一问,为啥 用 unsiged 然后他让我换成char试试;然后出现了以下结果 #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 101 int main 阅读全文
posted @ 2019-12-14 02:10 哒啉 阅读(265) 评论(0) 推荐(0) 编辑
摘要: C语言学得有点懈怠,昨个遇一个高手。 教了我两天,真细腻。 第一天,让我写一个程序删除字符串多余空格。 我俩代码对比 结果很显然了。 阅读全文
posted @ 2019-12-14 01:47 哒啉 阅读(140) 评论(0) 推荐(0) 编辑