2007/06/13(水)C++ 2015/07/19 07:06 Hello World ■ C++ #include <iostream> using namespace std; int main(void) { cout << "Hello World!" << endl; return 0; } ■ C++ 別Ver. #include <iostream> using namespace std; class HelloWorld { public: HelloWorld(){ cout << "Hello World" << endl; } }; HelloWorld hello; int main(){}
2007/06/13(水)C++/CLI 2015/07/19 07:06 Hello World ■ C++/CLI int main() { System::Console::WriteLine(L"Hello World"); return 0; }