woops! Ain't thinking clear, sorry for that!
But thanks again, both of you!
woops! Ain't thinking clear, sorry for that!
But thanks again, both of you!
Currently research OpenGL
http://codepad.org/opw4HeWp
Now, I'd like suggestions on this and is there anyway to check if a pointer, like the used pFrameFunc pointer, has been assigned anything else than 'garbage' ? Like, if it has been assigned by the code, and not some default compiler thing...
And for the suggestions, I mean would this be the right place for the loop? I don't want the users of this engine to make the loop themselves...
And I use the variable "bool& failed" as the condition for the loop, there is no problem with this? I mean, it is a pointer... Just to make me more sure about this!
Thanks in advance!
Currently research OpenGL
Like any other pointer you should set it to NULL initially, since NULL checks are the only way to make sure if the pointer points to something.Now, I'd like suggestions on this and is there anyway to check if a pointer, like the used pFrameFunc pointer, has been assigned anything else than 'garbage' ? Like, if it has been assigned by the code, and not some default compiler thing...
I don't see why you'd want an infinite loop there.And for the suggestions, I mean would this be the right place for the loop? I don't want the users of this engine to make the loop themselves...
And I use the variable "bool& failed" as the condition for the loop, there is no problem with this? I mean, it is a pointer... Just to make me more sure about this!
Thanks in advance!
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.