my administrator at school blocked commands for command prompt so I can't use system pause or system color commands....anyone know a way around this?
TMD
0
Newbie Poster
Recommended Answers
Jump to Postsystem pause seems to be frowned upon anyway, but the best replacement (if you don't care about portability) could just be to use
#include <conio.h> // windows only, for getch
cout << "Press any key to continue."'
getch(); //waits until one key is pressedSorry I don't know …
All 3 Replies
Joatmon
0
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Joatmon
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.