#include<iostream> using namespace std; class Hello{ public: void func(){ cout << "Hello World!\n"; cout << "It's me!\n"; } }; int main(){ Hello hobj; hobj.func(); return 0; }
授業中に作成したプログラムを片っ端から乗っけていきです。C++ を中心に掲載中。
#include<iostream> using namespace std; class Hello{ public: void func(){ cout << "Hello World!\n"; cout << "It's me!\n"; } }; int main(){ Hello hobj; hobj.func(); return 0; }
このページへのコメント
tCnDBn I think this is a real great post.Really looking forward to read more. Awesome.