Hi all...my first post here...WOOHOO!! Ok...now to the meat of the question...
I'm a student at the the local JC in an intermediate C++ class...I'm having trouble understanding pointers...I just can't seem to get the full concept through my head...Can someone tell me how they finally "got it"? I understand (I think) the "->" operator, but I still don't understand exactly what it means if I've got a function header with a pointer as one of the arg's. ie
foo::somefunc(char *somevar)
what does that mean?????
If i've got some variable called
char *word[6]
do I call
somefunc(word)
or do I call
somefunc(*word)
What exactly is the difference?? And how do I refer to the variable w/in the somefunc function??
I'm soooo confused right now, and would appreciate any *pointers :cheesy: * you could give me....thanx!!