-
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
-
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...
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