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

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -