..

FreePrograms


C programming Tutorial 

Free C Programs, C Programs Download


Embedded C lang & 8051(Embedded Products)


  CONTACT US   ABOUT US   PRIVACY  DISCLAIMER

FREE C PROGRAMS 

 C Tutorial for beginners
What is C C vs C++ vs Java Program Structure Data Types in C Basic Rules of C & C++
Functions in C If, Else Conditions Loops in C Switch Case Arrays
Pointers Structures in C Strings in C Command Line Arguments Type Casting
Linked Lists Recursion Binary Trees Inheritance Multiple Inheritance
Templates File I/O Object Oriented Programming  Data Structures in C C interview Questions

/*Structure of a C++ Program C++/CPP Tutorial.*/


We have named the program FIRSTCP.CPP as you can see above.

This very simple c++ program displays the message 'Hello World!' on the screen.

Structure of C++ Program

#include Directive

The #include directive tells the compiler to include the contents of the file enclosed within angular brackets into the source file


main() is a function name. All programs must have a function called main(). The execution of a program begins with the main() funtion.

statement cout displays text on screen 'Hello World!'

And as you know /*COMMENTS COME HERE www.freecprograms.com */
 

 

 

COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM