Results 1 to 3 of 3

Thread: General C Question

  1. #1
    Senior Member
    Join Date
    Feb 2005
    Posts
    188

    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
    \"The Smilie Wars\" ... just arrived after the great crusades

    .... computers come to the rescue .... ah technology at last has some use.

  2. #2
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    Generally the compiler will make the .obj files and the linker will put everything together into it's .exe form.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

  3. #3

    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


    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
    Knowledge is useless...
    skill is baseless...
    not unless applied...
    to the betterment of mankind
    and not to the greed of corrupted government

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •