Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi

 

what is the purpose of a pointer

all i know is that a pointerholds the memory address of a variable,

 

whts the point of holding a memory address of a variable?

 

also

 

whats the difference between:

mypointer->dosomething

and

mypointer.dosometing?

 

thanks

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted

yeah but..

 

i am reading a book;) the book simply states that you use mypointer->dosomething to dosomething!

 

:( fundamentals? Does that mean its a hard concept or easy concept?

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted

It means it's part of basic C++ that every C++ programmer needs to know, and this is not the place to learn about them.

 

Try looking here here. It took about 45 seconds to find that on Google. I'm sure you'll find tons of other good links by searching Google as well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...