ladycrys89 Posted September 14, 2014 Posted September 14, 2014 Hello all, Silly question for you.  As a C++ learner I'm on my way to OOP comprehension, so I read some of the script in my "src" folder. I understood pointers (maybe), but I don't understand why using a pointers can affect the final script. Is it just a matter of memory waste?  In short: what happens if I pass a simple variable (core explosion? Or simply it doesn't work) ? Do I really need to change the original value instead of the copy one?  Hope you know what I'm talking about...weird explanation I know  Can you please give the names of some simple script that can I use for studying? Quote
Zerix Posted September 15, 2014 Posted September 15, 2014 Pointers make it easy to access objects. As C++ is OOP, you'd ideally use pointers to simplify things. Go read up on trinitycore's wiki for some scripting walk throughs. 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.