Friday, July 3, 2009

First program in C Plus Plus using GCC compiler

// The Header file for accessing cout method.

#include <iostream>

// The Main method, Entry Point of the program.

int main()
{
        //Printing a message on the screen.

        std::cout<<std::endl;
        std::cout<<std::endl;

        std::cout<<"C Plus Plus Programming";

        std::cout<<std::endl;
        std::cout<<std::endl;

        return 0;
}

No comments:

Post a Comment