Comments by orbitz
6 totalSome of these pictures are really beautiful and vivid.
<i>i guess i'm not seeing it all just yet, because i don't fully understand why the prototype is "function(int *);" i'm doing it now cuz it works.</i><br> <br> Well think about it, a function pro...
Just a note:<br> the * does not really go with the datatype, but it does define its type. For instance:<br> int *p, q; is the same as<br> int *p;<br> int q;<br> <br> to make 2 pointers it wou...
It's like this, take a fucntion:<br> void blah(int r)<br> <br> r is a local variable. It's value is initialized to whatever you pass it. Just because it's in a parameter list does not mean it ...
Your book will explain this concept very easily. And like I said, Thinking In C++ is free online. You aren't declaring your parameters to your function as a pointer. Try reading what I said again,...
First of all:<br> void main is incorrect.<br> It should be int main(). And because it's int main() it should have a return statment. Although in C++ that is not required. <p> Secondly, you sho...