#include #include #include #include #include #include class rd{ FILE *out,*fl; public: char word[32],wordtemp[32]; char *wordc; int count; int i; rd(){ count=0; out=fopen("wordlist.txt","r"); fl=fopen("mikeslist.txt","a+"); } setcount(){ count++;} setnextword(){ //for(int k=0;k<=32;k++)word[k]=NULL; i=0; char c; do{ i++; //word[i]=NULL; word[i]=getc(out); // word[i]=wordtemp[i]; }while(word[i]!='\n') ; // for(l;l<=32&&wordtemp[l]!='\0'&&wordtemp[l]!='\n';l++){ //word[l]=wordtemp[l]; // } word[l+1]='\0'; //word=wordtemp; } displayword(){ /* int j=0; while(word[j]!='\0'&& word[j]!=' '){ ++j; cout<