User profile: BlackSheep

User info
User name:BlackSheep
History
Joined:
Number of posts:420
Latest posts:

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 things
Yupperdoodle. Declaration is when you "declare" a function without providing a body: [code] int func...

I am impressed by this forum
I've actually been snarking out since I was seven. I hold the record at 13,424 successful snarkouts.

issues with scope, among other things
You forgot a semi-colon after the declaration of getTopNum(). Also, stack isn't dynamic, so you don'...

issues with scope, among other things
You need to let the compiler know that the functions add, subtract etc. belong to the class postfix...