running c++ file in cmd 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;
}