-
General C Question
Hi
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
-
Generally the compiler will make the .obj files and the linker will put everything together into it's .exe form.
-
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
Quote:
Originally posted here by Mystery Man
Hi
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