How can I incorporate/execute DOS commands into my program?
For example, if I want to change the screen color at the command prompt I would type "color 03" or whatever. How can I do this from my program?
How can I incorporate/execute DOS commands into my program?
For example, if I want to change the screen color at the command prompt I would type "color 03" or whatever. How can I do this from my program?
Next time, search the forum before u ask.
To answer your question:
#include <stdlib.h>
system("color 3");