Okay, a few more questions. Hopefully the last!
Say for example, I create the following class:
and then do something like this:
int AddTo(int Num);
1) how much memory does number or sum take up (because I didn't give it a type)?
#define ten 10
cout<<"Please Input A Number: ";
sum = number.AddTo(ten);
2) how much memory does ten take up (because, again, I defined it, but didn't give it a type)
3) how much memory does a function use? (I'm assuming it's varied?)