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(){}