#include "stdafx.h" #include <iostream> #include <string> #include<conio.h> using namespace std; class console{ public: console( ) { string text = "Hello World!"; system("Color 07"); cout << text << endl; }//end of console constructor }; //end of class int main(){ console obj1; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)