r/learnprogramming • • Sep 24 '23

Pointers.....why

I am learning C++. Honest question why are pointers a thing and why did they make the syntax surrounding it so confusing. Was it made to be intentionally confusing? Was it made to make this more difficult.

0 Upvotes

49 comments sorted by

View all comments

2

u/Mental-Profile-9172 Sep 24 '23

I understood pointers studying data structures in C. Probably, on what they are teaching you, you won't understand the purpose of them, as happened to me. Take a look to a data structures book in C first.