C/stdlib.h/system
system: passes the string as a command to the command processor
<source lang="cpp">
//Header file: #include <stdlib.h> //Declaration: int system(const char *str); //Return: zero on success or nonzero on error.
#include <stdlib.h> int main(void) { printf("%s",system("dir")); } </source>