-
November 30th, 2004, 03:36 PM
#11
How about this?
Start -> run..
cmd.exe
Now drag 'n drop your compiled program into the command shell and press enter.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
November 30th, 2004, 03:36 PM
#12
Dia_Byte, keeping compiler options default severely limits what you can do. I think that what C_Programmer was saying about changing the options is quite pertinent. If you are developing a console application and want to run it using your ide, then you should make sure that the options are set up right.
ac
-
December 2nd, 2004, 05:07 PM
#13
Member
you're right and i know that
but if you don't know what you're doin you might not have a compiler any more !!!
using bad options might result in unexpected error
so you better know what you're doing
-
September 2nd, 2005, 09:02 PM
#14
Junior Member
Bloodshed runs on linux, it uses the GNU Compiler Collection, among others, if memory serves...
While the cin >> x; method is indeed a viable cross-platform solution, and though API calls do tend to slow down program execution, seeing as this snippet is located at the very end of Main, it shouldn't make a difference. Either way; you choose, provided you're running Winbloze.
I, personally, didn't know about this system call (I write most of my C-style code in C#), and thought it was interesting enough for Dia to have shared it with the rest of us.
SirDice:
I...never...would...have...thought...of...that... (Fushi kicks himself repeatedly) I could've saved month's worth of time spent "cd" ing into and out of folders by now had someone told me that :P
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
|
|