我的第一个C++语言程序。

我的第一个C++语言编写的入门程序

//HelloWorld.cpp

#include    

using    std::cout;

using   std::endl;


int  main()

{

cout<<"Hello World!!!"<

//system("pause");

return   0;

}

或者://HelloWorld2.cpp

#include    

using  std::cout;

using  std::endl;


class  World

{

public:

World(){   cout<<"Creating   a    World !"<

};


World   theWorld;


int   main()

{

World    world2;

//system("pause");

return   0;

}

你可能感兴趣的:(c++编程语言学习笔记,C++标准,c++,c++0x,c++11,语言)