run command cpp program code example
Example: run cmd command c++
#include <iostream>
using namespace std;
int main() {
system("DATE");
return 0;
}
#include <iostream>
using namespace std;
int main() {
system("DATE");
return 0;
}