#include "CS35lib.h"


int main()
{
	int counter, i;
	char word[7], entry[7];
	
	ifstream file;
	file.open ("data.dat");
	i =0;
	cout<<"Try to Guess the word: ";
	getline(word);
	while (file>>entry)
	{
	    strcmp(word[i] != entry[i])
		i++;
		cout<<"You had "<<counter<<"chars right";
		cout<<endl;
	}

	file.close();
	return 0;

}



