Visual Studio- C++ – Simplest Program
January 31, 2013 1 Comment
#include <iostream>
int main(int argc, char *argv[])
{
std::cout<<”happy programing ! “;
std::cout<<”Are you enjoying?\n”;
system(“PAUSE”);
return 0;
}
For the sake of simplicity you may also write the above code as
#include <iostream>
using namespace std;
void main()
{
cout<<”happy programing ! “;
cout<<”Are you enjoying?\n”;
system(“PAUSE”);
return ;
}
Pingback: Turbo C++ – Simplest Program « Best Beta Bytes !!!