By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,650 Members | 812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,650 IT Pros & Developers. It's quick & easy.

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

P: 1
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++.
Sep 19 '10 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
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.
Sep 19 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.