Ok. I've taken it upon myself to learn C as part of a self improvement program I've embarked upon and also to help clean up the environment. As is normal with endeavors such as these I will have questions. Please bear with me and my newbie status.
Pointers are my first hurdle. I think I understand what they are and what they do but not really what to use them for.
To declare a pointer I do this:
int *i;
right?
so if I do:
int x = 5;
int *i;
i = &x;
then i will equal the memory address of x but not the value of x, right?
If I'm good so far, why would I really need the memory address of x? What would be a real world example of the usage for this? :-?
edit: I sure wish that we had a general developer section in the forums for this type of thing.