Results 1 to 3 of 3

Thread: Compile a C program using command prompt

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Answers
    1

    Compile a C program using command prompt

    How to Compile a C program using command prompt


  2. #2
    Junior Member
    Join Date
    Oct 2006
    Answers
    5

    Re: Compile a C program using command prompt

    Use command line arguments in C.... like

    main(int argc, char argv[])
    {
    ....
    }

    then compile it in the DOS shell........ similar like compiling Java


  3. #3
    Junior Member
    Join Date
    May 2007
    Answers
    3

    Cool Re: Compile a C program using command prompt

    first find out the name of compiler. It will be lying in the directory of installation of c.(eg. for turbo c , It is c:\tc\bin\tc.exe);
    then this path should be given to pc.
    then after writing this name and your file name you can compile it...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact