Please confirm the encoding format of the .cpp file where your code is located (the file created by vs should be ANSI, but if your file is created in other ways, it may not be ANSI) and your console (windows defaults to ANSI ) encoding format, these two formats need to be consistent.
Please confirm the encoding format of the .cpp file where your code is located (the file created by vs should be ANSI, but if your file is created in other ways, it may not be ANSI) and your console (windows defaults to ANSI ) encoding format, these two formats need to be consistent.