Big help!
CodePudding user response:
Vacode is inherently unsuitable for Chinese... What are you fight with a rolling pin, this is not for funCodePudding user response:
Vscode, suggest you change a compilerCodePudding user response:
Input is ok, seen others success, as for how to succeed, go hard with theCodePudding user response:
In c + + do not, I just learned he, also, you can use the gets (char variable), but is a character arrayCodePudding user response:
Header file change # includeCodePudding user response:
Open notepad, open the CPP, save as, look at the bottom right hand corner is UTF8, save for a change as more, such as GB2312, UTF8 give it a try, it's a bit like code of CPP code and the console code does not match,CodePudding user response:
Try a type string
# include & lt; Iostream>
# include & lt; string>
using namespace std;
Int main ()
{
String s;
Cin & gt;> s;
Cout & lt; <"Show:" & lt;return 0;
}
Suggest writing the code and Spaces