区别scanf(),gets(),fgets(str,max,file),cin,getline(cin, str), cin.getline(str[], max),getchar() 1、scanf()会遇到空格回车停止,字符串中末位是'\0',但输入形式 ...
確定! 回上一頁