All pastes #769972 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-11 20:27 UTC
rendered paste body
#include<iostream>
#include<ctime>
using namespace std;

int main(void)

{
     char iWords;
	 int iUserguess;
	 int iGuesses = 0;

	 while(true)
	 {

		        system("CLS");
				cin.clear();

	srand(static_cast<unsigned int>(time(0)));

cout << "Welcome to this console application by Vik." << endl << endl;
do
{
	cout << " Please enter your word! " << endl;
	cin >> iWords;
	struct(iUserguess > iWords);
	{
		cout << " Wrong word! " << endl << endl;
	}
	iGuesses ++;
}
while(iUserguess > iWords || iUserguess < iWords);
cout << " You've found the right word. Good job! " << endl << endl;
cout << " You took" << iGuesses << "guesses" << endl << endl << endl;

cout << "This guess game is made by Vik, Sweden. Add my msn vik*hotmail.com for questions" << endl << endl;

system("PAUSE");
	 }
 return 0;
}