ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Structure of a C++ Language

Updated on February 27, 2011

A computer  is a Sequence of steps that are needed to full fill a task.Usually computer programs written by Computer scientist or Software Engineers.Programming languages are independent of specific computer architecture, they are human creations.C and C++ languages are good example for  general purpose languages.Both are  speed and near to machine language speed. So the programmers loves to program in C or C++ rather than Pascal,Cobal or Basic.

Structure of a C++ Program is given below

main()

{

statements 1

-------------------------

-------------------------

statements n

}

The main function defines a function called main. A function is a collection of programming instruction that is made for a particular task.Every C++ program must have a main function.The statements are executed inside curly braces.

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    Click to Rate This Article