C ++ main () function examples and main function examples
When I first came into contact with the c ++ language, I started with the simplest program, the main () function.
# Include // Io indicates the input (Entry Program Information) output (from program output information)
Using namespace std; // namespace support in c ++ (for example, there is a nickname in Henan province, and a namespace in Hebei province is also called Xiaobai, if you directly call their names, you will be confused. However, if you classify them, you will not be confused if you call the nickname "Xiao Bai" in Henan province or "Xiao Bai" in Hebei Province. The same is true for programming. With namespace support, when there are two identical ones, you can use namespace to know which one to call without confusion .)
Int main ()
{
Int n;
Cin> n; // output
Cout <"c ++" <
Return 0;
}