Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I never understood the struggle people have with pointers, to me they are quite obvious, unless I'm missing some important thing about them. You have something you need to store; it's stored in memory; so you need to store its address if you intend on accessing it; so you store it in a pointer. From there, the rest comes logically.


I think the problem with C (well my problem) was the *& characters all over the place. I think because I spent too much time with pascal where (in my opinion) the pointer syntax is more symmetric.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: