View Single Post
Old May 4th, 2008, 11:00 AM   #6
peaceofpi
hi: for(;;) goto hi;
 
peaceofpi's Avatar
 
Join Date: Jun 2006
Posts: 85
Rep Power: 3 peaceofpi is on a distinguished road
Send a message via AIM to peaceofpi Send a message via MSN to peaceofpi
Re: Simple if statement question :(

1. You don't need stdio.h (it should be cstdio for c++ anyway).
2. iostream.h should be iostream
3. As for your last question: place everything from the first to the last cout in a while (true) { } loop or something of the sort.
4. Don't forget to return 0; and close main.
__________________
How do you play Religious Roulette?
Stand around in a circle and blaspheme till someone gets struck by lightning.
peaceofpi is offline   Reply With Quote