void some_fun(some_class* p){ assert(p!=0); // do stuff with p}
Hello?
Guys, come on.
void some_fun(some_class& c){ // do stuff with c}
i don''t need pointers at 99% of the gamecode, just for some baseclasses wich encapsulate some data.. (and even there i don''t rely on normal pointers..)
"take a look around" - limp bizkit www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia