I am using a very primitive veersion of C++ which is Borland Turbo C++ 3.0
I want to ask who makes the .exe and the .obj files after the compilation.
Is it the compiler itself or something else.
I know that the compiler of this version of C++ is written in C (the code shows that of the .h header files). How is it possible to create a language in itself.
How can the compiler be tested if the compiler is not complete as its code cannot be written in a few days.
Please reply
November 24th, 2005, 03:36 PM
Juridian
Generally the compiler will make the .obj files and the linker will put everything together into it's .exe form.
December 4th, 2005, 03:10 PM
kawaii_mamorou
Re: General C Question
Assembler or Compiler - Converts source code to object code or machine readable code
Linker - converts obj or machine code to run module or executable
- serves as loader for the program to be safely loaded to memory
I am using a very primitive veersion of C++ which is Borland Turbo C++ 3.0
I want to ask who makes the .exe and the .obj files after the compilation.
Is it the compiler itself or something else.
I know that the compiler of this version of C++ is written in C (the code shows that of the .h header files). How is it possible to create a language in itself.
How can the compiler be tested if the compiler is not complete as its code cannot be written in a few days.