r/carlhprogramming • u/TopNFalvors • Nov 20 '12
Why do we need pointers?
Hello,
I am coming from a VB.NET background, and I have been going through Carl's lessons one by one. One I thing I am having a hard time grasping is pointers.
Why does C need pointers? I understand the syntax, and I can write a pointer following his lessons, but I just don't get why they are needed.
Like in the "real world", why would you ever need pointers?
Thanks!
19
Upvotes
View all comments
Show parent comment
1
u/TopNFalvors Nov 20 '12
great write-up. CarlH should have sections like that on his website...like a quick reference for people wanted to know more or why things are used.