scanf的\n是不是忽略所有类似空格回车的字符
scanf("%d%d%d\n",&a,&b,&c)中的\n是不是忽略所有类似空格回车的字符
#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]){ int a,b,c; scanf("%d%d%d\n",&a,&b,&c); printf("%d%d%d",a,b,c); scanf("%c",&a); printf("%c",a); printf("%s",argv[0]); system("PAUSE"); return 0;}