Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Content of an obj file in C within the C and C++ forums, part of the Software Development category; What is the exact content of an obj file in C ? NOTE : [This question was asked by Cool boy]...
|
|||||||
|
|||
|
Re: Content of an obj file in C
Quote:
After compilation the “Source code” (which is written by a programmer) gets converted in to “Object code” which is placed in a file called Object File. “Object Code” is just the translation of “Source Code”, which can be referred as machine language code. But it is not the complete executable code, which can run alone unless included with “Startup code”(it is an Operating System specific code requires to start the program, as different OS handles execution of programs differently) & “Library codes” (it contains object code for many library functions, which are used widely in "Source code" e.g. printf(), scanf(), etc..). The next step i.e. linking takes responsibility to include “Startup code” & the required pre-compiled codes from “Library files” to create a complete executable program. Thanks, Niladri |
|
|||
|
Re: Content of an obj file in C
hi,
if u compile source code automatically obj file is created. It contains machine understandable language(ie., low level language) only machine purpose. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listen to any PDF file!!! | Shivanna | Geeks Lounge | 7 | 01-13-2009 09:18 AM |
| Reading a TSR file | JobHelper | QTP | 1 | 07-27-2007 07:33 AM |
| Can we edit the file | fred | Windows | 1 | 09-13-2006 01:06 PM |
| Content Assist | Lokesh M | HTML & CSS | 0 | 06-26-2006 08:37 AM |
| WebSphere V5.0 : Use content assist | Lokesh M | Web Tools | 0 | 06-02-2006 09:12 AM |