ThePentiumGuy Posted October 13, 2003 Posted October 13, 2003 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 Quote 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* Volte Posted October 13, 2003 *Experts* Posted October 13, 2003 I suggest you read a book on the basics of C++; this isn't the place to learn the fundamentals. Quote
ThePentiumGuy Posted October 15, 2003 Author Posted October 15, 2003 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? Quote 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* Volte Posted October 15, 2003 *Experts* Posted October 15, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.