Pointers : I know a little more but...
right, now i know that something like...
Code:
int main()
{
char bugger[10] = "holy mofoe";
char *cartrak="";
cartrak=&bugger;
cout<<cartrak;
return 0;
}
will make something like
holy mofoe
whereas the dsame without the pointer would return
h
..........
i dont know if thats right exactly but i tihnk its along them lines, but then again, why is that a good thing, cause surely if i made cartrak a string with [10] init, it would return the same!
can someone gimme another example plz, a REALLYT simple one and kinda put loads of comments in :D and what would happen withouyt the pointer