Jump to content

[C++]Pointers in Scripts


Recommended Posts

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? :P 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  :scared:


Can you please give the names of some simple script that can I use for studying? 

Link to comment
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

By using this site, you agree to our Terms of Use.