//Name: David Yang, Sean McMillan, Dominic Golab
//File: Dictioanry.h
//For: CSE 30331: Scrabble Gmae
//12/6/09
/*Description: This file contains the functionality of the dictionary class. It holds a vector of words from the dictionary.txt file. It uses binary searching to find the word and returns a bool.*/

#ifndef Dictionary_H
#define Dictionary_H
#include <string>
#include <fstream>
#include <vector>

class dictionary
{
public:
	dictionary(void);//default constructor
	bool search(std::string &s);//searchs for the word, all words need to be in lower case

private:
	std::ifstream infile;//ifstream object
	std::vector<std::string> dict;
};

#endif