Hi. I'm taking a c++ course at school right now and I'm really confused about these pointers with * and & and stuff... I don't know how to explain it but I've read the tutorial here and tutorial on another site and even my textbook from school... but it's still confusing. I don't think this topic is supposed to be hard cause everyone else seems to get it..
can someone just explain it in depth to me plz in an easy way? Like:
int a;
int *b;
i don't know when to use a, &a, b, *b, &b, etc... it's a little wierd.. I know '*b' is supposed to piont to something but what about 'b'. can you set 'b' equal to something.. then what about 'a'?
I know I don't make much sense but I need all the help I can get. I'm struggling in my class. thanks.