View Single Post
Old 07-09-2002, 11:30 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
Code:
int main()
{
   int i;
   cout << Please enter an integer: ;
   cout.flush();
   cin >> i;
   if(i > 0)
     cout << "Thanks for giving me an integer" <<endl;
   else
     cout << "What, are you dumb or just stupid? I said an integer... Dumba**" <<endl;
   return i;
}
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote