cmd - How to open command prompt and insert command using c++ -
currently working on project of image processing using c++. found solution requires use of command prompt.can please tell me syntax of portion of it?
since c++ skills aren't great don't know how achieve this.
try use system() function:
#include <stdlib.h> int main(void) { return system("dir"); }
Comments
Post a Comment