First of all, I apologize for my poor english, I'm using the google translator to write this post.
This is my problem:
Imagine that i've this class:
class Example {
int hello;
}
And I need to do something like this
externint Aux;
Example ex;
ex.hello = Aux;
I want to know if there's a way to delete Aux because i'll never use it again (and it consumes memory). Or at least a way to assign a value to ex.hello from outside (extern mode).
First of all, I apologize for my poor english, I'm using the google translator to write this post.
This is my problem:
Imagine that i've this class:
And I need to do something like this
I want to know if there's a way to delete Aux because i'll never use it again (and it consumes memory). Or at least a way to assign a value to ex.hello from outside (extern mode).
Thank you very much!