How can we compile and run C in command prompt, is there is any option for that?
Printable View
How can we compile and run C in command prompt, is there is any option for that?
ya u can run c program in ur command prompt
in ur tc directory u see one file called tcc.exe using this file u can do this
more help type tcc/? in ur command prompt
[QUOTE=kumarprabu;31725]ya u can run c program in ur command prompt
in ur tc directory u see one file called tcc.exe using this file u can do this
more help type tcc/? in ur command prompt[/QUOTE]
sir
i used many combinations of tcc to compile hello.cpp
like tcc -L -P hello.cpp,tcc -p hello.cpp,tcc hello.cpp etc
but it doesnot compile it..
please specify it to me the exact command .. i use TC3 enviorment on windows vista
:confused:abhinav
if you have only pure tc compiler then its easy just you compile it that is .exe file and then altF+go to OS SHELL command promt will come write your program name it will work ,but dont use cpp compiler