What happens you when compile a C/C++ program?

1 view
Skip to first unread message

gaurav gupta

unread,
Aug 31, 2009, 11:48:22 PM8/31/09
to DS & Algo@itbhu


---------- Forwarded message ----------
From: Alex Allain <webm...@cprogramming.com>
Date: Mon, Aug 31, 2009 at 9:29 AM
Subject: What happens you when compile a C/C++ program?
To: gaurav <1989....@gmail.com>


Today I'm going to introduce a more advanced topic: what goes into actually making a program--the steps that a compiler takes when building your program, and how that will improve your programming
 
Understanding the phases of compilation will make it easier for you to deal with compilation failures, make it possible to share code between programs, simplify working with larger code bases, and unravel some of the magic behind the incantations you use to go from source code to executable.
 
To learn more about the phases of building a program (and splitting up your code across multiple files), check out these articles:
 
Compiling and Linking - A detailed description of the two phases that go into making an executable program
 
Using Multiple Source files in a Single Program - Do you want to reuse code across multiple programs?  This is the article for you
 
The Preprocessor - Discover how to use the preprocessor and how to take better advantage of it to automatically generate code
 
Dealing with Compiler Errors - (Aimed at Beginners) Learn how to fix problems at each stage of the build process
 
Learning the details of how the compiler actually works will take your understanding to a new level, but if you're still new to programming and find all of this too confusing, just save this email and come back to it later.  But do come back to it!
 
Alex

49 Dover St. #37, Somerville, MA 02144, USA

To unsubscribe or change subscriber options visit:
http://clients.profollow.com/z/r/?nCwsbKwMtCxsDGzsDMxMtGa0zJzMjOwcjA==




--
GAURAV GUPTA
B.Tech IV Yr. , Department of Computer Science & Engineering
IT BHU , Varanasi
Contacts
Phone No: +91-99569-49491

e-mail :
gaurav...@acm.org
gaurav.gu...@itbhu.ac.in
Reply all
Reply to author
Forward
0 new messages