-
Junior Member
Compile a C program using command prompt
How to Compile a C program using command prompt
-
Junior Member
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![Wink](http://www.geekinterview.com/talk/images/smilies/wink.png)
-
Junior Member
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...![Smile](http://www.geekinterview.com/talk/images/smilies/smile.png)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules