摘要:
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)

浙公网安备 33010602011771号