|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Beginner question
U can use them in a lot of ways, u can use them to traverse arrays , to use polimorphism in C++, a lot of uses, study them , they are very usefull. Search the WEB for tutorials , there are plenty of them, there u can find a big explanation about the use of pointers wegifford wrote: > Hey there, > I am a beginner and I am covering pointers and have a few questions. The > book I am using is not giving me the best explanation. The code makes tons of > sense but I want to know a little more about what a pointer is. > As I understand it a pointer variable is pointing to a variable location in > memory. So when passed in a function it is not exactly being passed but where > the variable is located is being pass. What is a pointer exactly used for? Is > the previous explantion the answer. If so when is the best time to declare > and use pointers? What is a benefit of a pointer? Is it just speed? Any help > you all could give would shed light on this concept. > > William > > ================================================================= > The GameProgrammer.Com mailing list is for the open discussion > of any topic related to the art, science, and business of > programming games. This list is especially tolerant of beginners. > We were all beginners once > > To SUBSCRIBE or UNSUBSCRIBE please visit: > http://gameprogrammer.com/mailinglist.html ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|