Sinisterly
cmd doesn't compile and run C code - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: C, C++, & Obj-C (https://sinister.li/Forum-C-C-Obj-C)
+--- Thread: cmd doesn't compile and run C code (/Thread-cmd-doesn-t-compile-and-run-C-code)

Pages: 1 2 3 4 5 6


RE: cmd doesn't compile and run C code - Slarek - 11-24-2013

I don't see the reason why one wouldn't use an IDE if the language is compiled.


RE: cmd doesn't compile and run C code - Slarek - 11-24-2013

I don't see the reason why one wouldn't use an IDE if the language is compiled.


RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013

(11-24-2013, 06:41 PM)Knee-O Wrote: Please list each command you are entering and I'll try to see if you're doing anything wrong.

I type in cmd : gcc name.c -o example && example and then enter. After this , commander compiles and runs the program...


RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013

(11-24-2013, 06:41 PM)Knee-O Wrote: Please list each command you are entering and I'll try to see if you're doing anything wrong.

I type in cmd : gcc name.c -o example && example and then enter. After this , commander compiles and runs the program...


RE: cmd doesn't compile and run C code - Daedalus - 11-24-2013

(11-24-2013, 06:46 PM)Slarek Wrote: I don't see the reason why one wouldn't use an IDE if the language is compiled.
I agree. Geo777, are you aware of the great benefits of using an IDE? It combines your code editor and compiler in one so all you have to do to compile and run a program is simply click a button. This would essentially solve all the problems you are currently experiencing. As I suggested in your other thread, give Code::Blocks a try. Very, very good IDE.


RE: cmd doesn't compile and run C code - Daedalus - 11-24-2013

(11-24-2013, 06:46 PM)Slarek Wrote: I don't see the reason why one wouldn't use an IDE if the language is compiled.
I agree. Geo777, are you aware of the great benefits of using an IDE? It combines your code editor and compiler in one so all you have to do to compile and run a program is simply click a button. This would essentially solve all the problems you are currently experiencing. As I suggested in your other thread, give Code::Blocks a try. Very, very good IDE.


RE: cmd doesn't compile and run C code - Slarek - 11-24-2013

Where you have saved your files?
Try to change the directory.


RE: cmd doesn't compile and run C code - Slarek - 11-24-2013

Where you have saved your files?
Try to change the directory.


RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013

Ok , I will install that program right now.
Thanks you for your answer , you really helped me :Thumbs-Up:


RE: cmd doesn't compile and run C code - Geo777 - 11-24-2013

Ok , I will install that program right now.
Thanks you for your answer , you really helped me :Thumbs-Up: