🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

typedef struct

Started by
10 comments, last by Choo Wagga Choo Choo 2 months, 3 weeks ago

pbivens67 said:

Is the ampersand point to the address of the rect values(?)

Browse this google search: pointer vrs reference c++

Also, look at the first and second answers at this stackOverflow related question.
In here you'll find a visual comparison example and a second point of view when talking about usage.
pass by reference - Use of the & operator in C++ function signatures - Stack Overflow

This topic is closed to new replies.

Advertisement