My first Hello C++ program

Hi, Finally I had achieve in making My first C++ Program! I called "JosephHello"
(My real name).

I will post here so people see my achievement!

Thanks!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//JosephMytemplate01
//Nogueras Gantu, Joseph M.		5966		18
//COSC 131						            09/16/2008.

#include<iostream>
using namespace std;

//Definition of the class Hello2008.
class Hello2008
{
public:
	void imprime() 
	{
		cout << "\n\n\n\aWelcome to C++ 2008! \n\n";
		cout << "\t\t\aHello, This is my first program.\n\n\n";

    }
    
	void imprime2() 
	{ 
		cout << "\t\t\aThere's more where this come from...\n\n";
		cout << "\t\t\aStick around to see even more, Thanks!\n\n";
		
	} 
};


//For printing a message trough the screen.
int main()
{
	Hello2008 hello;

	hello.imprime();

	hello.imprime2();

	system("pause");

	return 0;
}


Thanks for everything, I will keep checking out this Website.
:D
Well im pretty new here to C++ but isnt the hello world program only a few lines long of code?
This is not a hello world program. It is his first program.
Topic archived. No new replies allowed.