It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
#include <iostream>
#include <string>
#include <sstream>

using namespace std;
int main ()
{
string imagoodboy;
int didiwin;
int count = 1;
do{
_if (count > 1)
__cout << "\n";
_cout << "1: Winner!\n";
_cout << "2: Sorry, not a winner :(\n";
_cout << "Please choose #1. ";
_getline (cin,imagoodboy);
_stringstream(imagoodboy) >> didiwin;
_if (count == 1)
__++count;
}while (didiwin != 1);
cout << "\n" << "--------------\n";
cout << "YAY!! I WON!!!";
cout << "\n" << "--------------\n";
return 0;
}

EDIT: Remove all the _'s. The forum software doesn't like indentations. You get the idea ;)
Post edited March 04, 2012 by CowboyBebop
In again. Thanks again Xyem. :)
thanks for the giveaway
In again too xD
Thanks you!
Now let us see if Victoria can win a giveaway for one! :D
Yo feel the flow
I'm in.
I fail at spelling
Post edited March 04, 2012 by uchos
Once more, with feeling!
Again I'm in, but will I win?
In again, thanks.
Reporting in....
Ping Pang Pow - Im in
like dis if u cry evry time
I'm in, thanks.