well, i need some help with this. how would i be able to make it so when they press the quit option it closes? like this:
-thanks in advanceCode:1) blah
2) blah
3) quit
//i know this stuff
if (a == 3) {
//what do i put here to close?
}
Printable View
well, i need some help with this. how would i be able to make it so when they press the quit option it closes? like this:
-thanks in advanceCode:1) blah
2) blah
3) quit
//i know this stuff
if (a == 3) {
//what do i put here to close?
}
If that code is in the main function, just return an int.
Code:return 0;
ah, hehe. thanks
MOH123, you have got to be a noob to the noobs.
The question you just asked and Dante Shamest just answered can be found in chapter one of like, all the C++ books and tutorials out there!
yea, i dont have any books and i just didn't look at the tutorials. i looked in the help file but couldn't find it there either. I'll look harder next time :P