what would I use pointers for?
I used to have a vague understanding of a pointer...
like,
*ptr is the value pointed to by the pointer,
ptr is the address the pointer is pointing to,
and &ptr is the address of the pointer itself?
or something?
the one example I have seen is putting an &argument into a function to make a reference/output argument, but I don't want to use output arguments anyways... what are other important uses for pointers in C++?
--edit--
oh, also.. Can I just drop hex values into my program?
Like, if I have an int containing the ASCII value of a character,
and I want to check if it is a numeral,
can I do something like if(charValue>0x29&&charValue<0x3A){ }
?