View Single Post
  #2 (permalink)  
Old August 23rd, 2004, 12:45 AM
nokomis nokomis is offline
Authorized User
 
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Many compilers don't recognise cin and cout unless
you include stdio

#include <stdio.h>

Will probably solve that problem

maybe saying

if (x < 0 || x > 3)
would be neater but no better.

Good luck

Nokomis


Georges
Reply With Quote