since the website is called toms hardware, i dont think i should be asking a programming question, but ill give it a try, im teaching myself c++, so can somebody teach me how to do this:
int main() {
cout << "type 1 or 2";
int x;
cin x;
if (x==1) { /* open notepad*/}
if (x==2) {/* open paint */}
}
how to open and close apps from c++ console application
int main() {
cout << "type 1 or 2";
int x;
cin x;
if (x==1) { /* open notepad*/}
if (x==2) {/* open paint */}
}
how to open and close apps from c++ console application