Try this...
TTT *Game;
OnlineGame *theGame=dynamic_cast<OnlineGame*>(Game);
if (theGame != 0)
{
cout << "Cast Succeeded!\n";
Type: Posts; User: C++Illiterate
Try this...
TTT *Game;
OnlineGame *theGame=dynamic_cast<OnlineGame*>(Game);
if (theGame != 0)
{
cout << "Cast Succeeded!\n";
|| is a logic operator not a function. And post your code so we know what you are talking about...
It wont run on windows 98...