How to exit an iteration (for loop)You can use the [code]continue;[/code] keyword. Just be careful with its use as it can cause many in...
issues with scope, among other thingsYupperdoodle. Declaration is when you "declare" a function without providing a body: [code] int func...
I am impressed by this forumI've actually been snarking out since I was seven. I hold the record at 13,424 successful snarkouts.
issues with scope, among other thingsYou forgot a semi-colon after the declaration of getTopNum(). Also, stack isn't dynamic, so you don'...
issues with scope, among other thingsYou need to let the compiler know that the functions add, subtract etc. belong to the class postfix...