0
When I run my program it really fast so I dont see what program is runnig.Then the question how to make to see what it working?(Anything unless getch())
3 Respuestas
+ 2
Depending on your IDE, there are some settings you can change to keep it from exiting so quickly.
Or you could do
system("pause");
at the end of your program (before return 0).
+ 2
If you want to slow down the iterations.. you may use the sleep function... The next line of code will execute after given amount of time... Thus making it easier for you to interpret whats going on...
.
Use <unistd.h> header file.
.
sleep(int time(in seconds));
.
Hope this helps.
+ 1
Woo thnx! I forget to tell that I want the thing which isnt use <conio.h> and getch()