Can someone make a simple code that explains the usage of pointers? Thx | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone make a simple code that explains the usage of pointers? Thx

I still don't understand why we have to use it

5th Aug 2018, 2:57 PM
mmm...
mmm... - avatar
3 Answers
+ 4
This is a simple code that you can hopefully understand. https://code.sololearn.com/c20769heGXcn
5th Aug 2018, 9:49 PM
John Wells
John Wells - avatar
+ 2
Even languages that don't provide them to the programmers, still use pointers to implement classes. It is extremely important concept of programming.
5th Aug 2018, 6:38 PM
John Wells
John Wells - avatar
0
Go on the pointer part in the c++ course and re-read those parts the comments are really helpful to understand don't forget to look at them
5th Aug 2018, 4:42 PM
Comsis Alexis
Comsis Alexis - avatar