how to run a cpp file in command prompt windows 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;
}