C ++ first Hello, Word!

xiaoxiao2021-03-06  46

There is a reappearance of C , which is recorded here, I hope to gain something. #include

Int main () {cout << "Hello, World! / N";

Return 0;} code analysis: #include or #include "iostream.h" iostream is a standard input / output library one program can only have a main () function cout for output string / N Return 0 is the return value of the program Note: Every statement is ";" to end the general attention.

转载请注明原文地址:https://www.9cbs.com/read-59196.html

New Post(0)