• Advertisement

Archived

This topic is now archived and is closed to further replies.

What does -> mean?

This topic is 6214 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have seen a ''->'' used in code before. What does it do? ----------------------- Hail to the king, baby.

Share this post


Link to post
Share on other sites
Advertisement
-> is used for pointers to structures to access their members. Instead of (*objptr).member, you can instead say objptr->member to make it easier. It is just another shortcut in C/C++, like the ++ operator.

Share this post


Link to post
Share on other sites
for squeejee:

are u currently involved in any project
if no, would u like to start one with me

if yes,good luck (can i join?)

Share this post


Link to post
Share on other sites

  • Advertisement