how c compiler works

Discussion in 'C' started by senthil.march, Apr 27, 2012.

  1. senthil.march

    senthil.march New Member

    Joined:
    Jun 1, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    hi guys am new to dis forum....guys can u pls help me to know after clicking compile button in c program wat happens.....wat compiler will do...i want to know step by step process wit example....how compilation done....and also i also want to learn about some important header files of c...explanation for d coding in d header files....and how it al starts from compilation to the output of d program.....guys could u help me...thanks in advance....:pleased:
     
  2. hamza.awaly

    hamza.awaly New Member

    Joined:
    Apr 28, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    beirut lebanon
    It is a Command-line compiler.
    It checks for syntax errors.
    It compiles the source code into a file with the .OBJ extension that is written in machine language but it is not executable.
    The syntax for compiling is:

    BCC32.exe -c filename.c
    Or BCC32 -c filename.c

    filename refers to the source-code files you want to compile.
    example: bcc32 –c myProgram.c


    hope that is what you need.
     
  3. senthil.march

    senthil.march New Member

    Joined:
    Jun 1, 2012
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    thank u hamza.awaly :) ya i got some idea on it :)
     
  4. hamza.awaly

    hamza.awaly New Member

    Joined:
    Apr 28, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    beirut lebanon
    your welcome dear :)
     
  5. hamza.awaly

    hamza.awaly New Member

    Joined:
    Apr 28, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    beirut lebanon
    plzzzzzz any help :
    Write a C program the print the calendar of certain month. This can be done by asking the user to enter the starting day of the month and the number of days in these months.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice