error during the executing time

Started by
12 comments, last by zip7000 21 years, 8 months ago
Guys, come on.

void some_fun(some_class* p){  assert(p!=0);  // do stuff with p} 


Hello?
daerid@gmail.com
Advertisement
Zipster, thanks for the clarification, I totally agree.
quote:Original post by daerid
Guys, come on.

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

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

If I wanted to pass a block of memory as opposed to a single instance, a reference would be quite misleading.

This topic is closed to new replies.

Advertisement