程序没有输出
你的输入的程序没有加&
输出程序有问题
好好检查看看啊
方法一: int in; printf ("请输入:"); scanf ("%d", &in);
方法二: char str[512]; cout<<"请输入:"; cin.getline(str,sizeof(str));