how the program gets executed by the c++compiler?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeep kaur
    New Member
    • Sep 2010
    • 1

    how the program gets executed by the c++compiler?

    how the program gets executed by the c++ compiler?
    i mean what steps are follwed by the compiler to execute the program.whic statement is executed first and so on? and suggest me some sites related to c++.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    The compiler doesn't execute the program, it compiles it into an executable file that someone else can execute.

    The entry point to any program is usually main, the code then gets executed line by line. Global class instances can alter this a little.

    Look for the thread "PLEASE READ FIRST: Useful Links and Posting Guidelines" stuck to the top of the C/C++ answers forum. It has several useful links.

    Comment

    Working...