On page 24 he uses the following piece of code in his cGameError class

Code:
DP1("***\n*** [ERROR] cGameError thrown1 text: [%s]\n***\n
",errorText);
Where does DP1 come from as the throws up some errors when trying to compile????

And

On page 29 he has this piece of code.

Code:
  
if(Graphics())
{
  Graphics()->DestroyAll();
}
Where does Graphics come from as this throws up a few errors also???