I've done a search but can't find anything on this topic.
I'm wanting to execute dos commands from my program. In particular the "cls" (clear screen) command.
Any help would be appreciated.
This is a discussion on Executing shell/dos commands within the C++ Programming forums, part of the General Programming Boards category; I've done a search but can't find anything on this topic. I'm wanting to execute dos commands from my program. ...
I've done a search but can't find anything on this topic.
I'm wanting to execute dos commands from my program. In particular the "cls" (clear screen) command.
Any help would be appreciated.
#include <stdlib.h> or <cstdlib>
system("cls");
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Perfect, thanks![]()