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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -