04-24-2011, 05:56 PM
Dear student!
object code is not a line of code. It is file of your program which is converted to object code after processing of compiler.
Execution of a program involves series of steps , this is one of those steps.
You write a program which is prog.cpp
prog.cpp---(After passsing from compiler)-----------> prog.obj
prog.obj----------(After linker processing)---------->prog.lib
prog.lib................(After loading and executing)........> prog.exe
i hope your point would clear now
object code is not a line of code. It is file of your program which is converted to object code after processing of compiler.
Execution of a program involves series of steps , this is one of those steps.
You write a program which is prog.cpp
prog.cpp---(After passsing from compiler)-----------> prog.obj
prog.obj----------(After linker processing)---------->prog.lib
prog.lib................(After loading and executing)........> prog.exe
i hope your point would clear now
