[type] *variable = new [type]();
do_somthing(*variable);
This gives me the error:
(this is just the generalized message...)
error: invalid conversion from 'const [type]* {aka const [structure]*}' to '[type]* {aka [structure]*}' [-fpermissive]
EDIT: NEVER MIND. I feel stupid, I just realized it creates read-only memory... and I call functions that modify the information at the address....
ok... next:
Is there a way for me to... pass the pointer without creating any new memory; i.e. passing the... (address?) of the pointer... or somthing to that effect??