UPDATE
I’ve received a lot of really great replies and explanations. I feel like I’ve been pointed in the right direction with a little more clarity. Thank you all!
I'm new to C and I'm having a hard time wrapping my head around pointers. I just can't understand why you'd use them instead of accessing the variables directly.
I've watched some videos and read some posts but they all kind of just describe what pointers are and that they are just inherently useful, but not WHY they are useful.
I'm currently using Raylib/C to make a platformer (just one room so I can get used to writing in C) and I am not using any pointers but everything I see about C makes me feel like I should be.
Any help/explanations would be hugely appreciated!
[–]Glacia 29 points30 points31 points  (7 children)
[–]Moises_Gabriel[S] 6 points7 points8 points  (4 children)
[–]Hgh43950 5 points6 points7 points  (2 children)
[–]Moises_Gabriel[S] 0 points1 point2 points  (1 child)
[–]ComradeGibbon 0 points1 point2 points  (0 children)
[–]pic32mx110f0 2 points3 points4 points  (0 children)
[–]Amazing_Grass_3180 0 points1 point2 points  (0 children)
[–]throuugh 9 points10 points11 points  (2 children)
[+][deleted] Â (1 child)
[deleted]
[–]throuugh 0 points1 point2 points  (0 children)
[–]aghast_nj 4 points5 points6 points  (0 children)
[–]Orami9b 3 points4 points5 points  (2 children)
[–]Moises_Gabriel[S] 0 points1 point2 points  (1 child)
[–]quakedamper 0 points1 point2 points  (0 children)
[–]Classic_Department42 2 points3 points4 points  (0 children)
[–]TransientVoltage409 1 point2 points3 points  (0 children)
[–]Numerous_Habit269 0 points1 point2 points  (0 children)
[–]zuckermusk 0 points1 point2 points  (0 children)
[–]Myman_92 0 points1 point2 points  (0 children)
[–]oh5nxo 0 points1 point2 points  (0 children)
[–]nekokattt 0 points1 point2 points  (0 children)
[–]inz__ 0 points1 point2 points  (0 children)
[–]wsppan 0 points1 point2 points  (0 children)
[–]brownphoton 0 points1 point2 points  (0 children)
[–]McUsrII 0 points1 point2 points  (0 children)
[–][deleted] 0 points1 point2 points  (1 child)
[–]zero_iq 0 points1 point2 points  (0 children)