Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Where to start. What to start with. | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
paraplayer Snifit Level: 22 Posts: 37/280 EXP: 57271 For next: 1079 Since: 06-06-05 Since last post: 44 days Last activity: 44 days |
| ||
hey i have a problem with my compiler (using the blooddev one) Whenever i run a script it opens an Ms-DOS window and exits immedietly (Thoguh the script DOES work. It says "Hello" right before it exits for a split second) anybody know how i can fix this? |
|||
Dish Spiny Level: 38 Posts: 418/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
That's what commandline programs do -- the run, then exit when they're done. If you want to window to stay open you have two options: 1) Open up a command prompt (Start | Run | type "cmd") and launch your program from the commandline 2) put '_getch();' or something at the end of the program so that it polls for user input before it closes (for _getch(), I believe you need to include conio.h) |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Where to start. What to start with. | | | |