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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -