摘要: scanf("%d\n",&a) scanf("%d\n",&a) scanf("%d\n",&a) 如果一个scanf的格式串以\n结尾,那么在读取完后还会阻塞等待,比如: int a; scanf("%d\n", &a); 这种情况,输入一个数字然后敲下回车后,程序还是阻塞着的。为什么呢? 在仔 阅读全文
posted @ 2019-10-16 21:56 BN_ZN 阅读(614) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <cmath>int main(void){ int panduan = 1; int a = 1; int b = 2; int c = 3; float delta = 10; float x1; float x2;while(panduan 阅读全文
posted @ 2019-10-16 21:53 BN_ZN 阅读(172) 评论(0) 推荐(0)
摘要: 熟悉了结构 printf("HelloWorld!\n"); 阅读全文
posted @ 2019-10-14 23:12 BN_ZN 阅读(90) 评论(0) 推荐(0)
摘要: 这个博客站点比较干净,没什么广告,还不错。访问速度也是可以的。 阅读全文
posted @ 2019-10-11 09:56 BN_ZN 阅读(62) 评论(0) 推荐(0)