I'm having issues learning these pointers.. what would you use them for? I don't get it...
I'm having issues learning these pointers.. what would you use them for? I don't get it...
Be inspired.
Lots of things, arrays, to have a little control over memory usage, edit objects passed into a function without the need to return, all kinds of things. Some people can probably list many more, I just can't think right now, it's also kinda hard thinking of all the things you use them for and then explain it to someone. Sorry, I'm incredibly tired lol
Pointers hold memory addresses. Sometimes when you're dealing with large data structures and you need to send those structures to a function or something, it's a lot easier to send the location of the data structure, than the entire data structure itself.
pointers also allow for dynamic memory allocation/deallocation... you'll learn about that in more detail when you get to learning about linked lists...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT