scanf读入空格

char s[100];
scanf("%[^\n]", &s);

猜你喜欢

转载自blog.csdn.net/qq_32862515/article/details/80389476
今日推荐