Hello World Program-Please take a look at my coding style.program
I am new to c++. Please take a look at my program and let me know how I can improve it. Thank you.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}
Hello World Program-Please take a look at my coding style.
I am new to c++. Please take a look at my program and let me know how I can improve it. Thank you.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}
Hello World program
Please take a look at my program and let me know how I can improve it.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}
Hello World Program-Please havetake a look at my coding style.
I haveam new to c++.Please have Please take a look at my program and providelet me better practice ideas,Thankyouknow how I can improve it. Thank you.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}
Hello World Program-Please have a look at my coding style.
I have new to c++.Please have a look at my program and provide me better practice ideas,Thankyou.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}
Hello World Program-Please take a look at my coding style.
I am new to c++. Please take a look at my program and let me know how I can improve it. Thank you.
/*
" To Print A Line On The Display Screen"
Date:5th January 2011
Programmer:Fahad
*/
#include <iostream>
using namespace std;
class Print
{
public:
void print_();
};
int main()
{
Print Obj;
Obj.print_();
system( "pause" );
return 0;
}
void Print::print_()
{
cout << "I am in print function and the program runs fine." << endl;
}