Home > Back-end >  confused
confused

Time:09-15

For bosses to solve, using c language output, output can't c + + language, why and how to solve????

CodePudding user response:

I this output is correct! You look at your code if there are any other problems, sometimes a small symbol will lead to the result error, look carefully, this is my application and operation result!
 
#include
#include
using namespace std;

Int main () {
Cout<& lt;" Hello!" return 0;
}


CodePudding user response:

Bosses, I tried many times, in c + + language is not ok, don't know how to solve

CodePudding user response:

Advanced CMD window, by typing CHCP 936
Don't quit, and then run your program

CodePudding user response:

You take a look at your file type is CPP?

CodePudding user response:

Notepad to open the file, save as, in the code, select the "ANSI", or "UTF8" respectively, give it a try,
  • Related