Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@t4ils Tl;dr pointers are memory addresses letting you interact directly with the computer's memory. They can also be a bitch sometimes
-
A pointer is a link to another value, in other words, it stores the location of a variable, and you can use it to access that variable.
Which I find very very dumb, because why the fuck shouldn't you just use the original variable? Why should we use something that acts as the original?!?! -
@Tytanium because it's much more than just a link. It is literally a physical place in memory which opens up a suite of interesting things you can do, from memory crawlers to ultra generic libraries. Plus it lets you directly access the memory location of a function, meaning you can store it in a database and use the function later (useful in generic libraries)
Related Rants
Screw you pointers...
undefined
kms