your problem is in the if statement. you forgot the opening bracket.
in your while loop,
num=die; has no meaning whatsoever. I
haven't have tested your code, your while loop will becomes an infinite loop as it have no condition where the loop will end. I suggest you change your while loop to if loop.
this could do the trick :
cpp
if(num == die)
{
cout<<"Winner. The dice rolled a "<<die<<endl; //winner declaration
money++; //add prize money
}
else
{
cout<<"Sorry. The dice rolled a "<<die<<endl; //loser declaration
money--; //decrease the player's money
}
hope this helps you

edit : dammit gabe. you beat me to it, and only by a few seconds. zzz
edit again : gabe, have you noticed the while loop in the code? hehe~
This post has been edited by red_4900: 4 Sep, 2008 - 01:32 PM