2 ms·
Pointers finally clicked for me when I started doing things with a normal int and treat it as a memory address. I forgot the details, but I remember making a St
by melvinroest 2y ago
Pointers finally clicked for me when I started doing things with a normal int and treat it as a memory address. I forgot the details, but I remember making a Stack Overflow post about it. The people on Stack Overflow didn't seem too happy with my program from a software engineering standpoint, not realizing I was just trying to really test some ideas of what pointers actually are.
Found the SO post: https://stackoverflow.com/questions/35379191/cannot-cast-variable-type-to-its-pointer-type-e-g-int-to-int-i-guess-its-a https://stackoverflow.com/questions/35379191/cannot-cast-var...