Introduction - If you have any usage issues, please Google them yourself
//Dictionary
#include <iostream>
#include <fstream>
#include <string>
#include <time.h>
#define maxsize 1000 0
#define exp_n 10000
using namespace std
string word[maxsize] //words of dictionary
int word_n //number of words
int fn //number of words found
int fl[26]
int compare_n
void Input_data()
{
int i
word_n=0
ifstream infile("dict.txt")
while(!infile.eof()){
infile>>word[word_n]
//ucase letter convert to lcase letter
for(i=0 i<word[word_n].length() i++)
if(char(word[word_n][i]) < a ) word[word_n][i]+= a - A
word_n++
}
infile.close()
}
int char_int_converter(char c)
{
if(c<= z && c>= a ) return c- a
if(c<= Z && c>= A ) return c- A
cout<<"Error!"<<endl
exit(0)
}
int Inword(string ss,int srt,int nd,int &pos)//confirm the word in dictionary or not
{ //find area:srt is start position nd is end position
int k
int startw=srt,endw=nd