切空
C语言之不能在scanf中使用换行
C语⾔之不能在scanf中使⽤换⾏#include<stdio.h>#include<iostream>int main() {char* str[10];printf("请输⼊:\n");scanf("%s\n", str);printf("您的输⼊是:%s\n",str);system("pause");return0;}c语言scanf能输入中文吗如果在scanf中使...
C语⾔之不能在scanf中使⽤换⾏#include<stdio.h>#include<iostream>int main() {char* str[10];printf("请输⼊:\n");scanf("%s\n", str);printf("您的输⼊是:%s\n",str);system("pause");return0;}c语言scanf能输入中文吗如果在scanf中使...