I'm still a bit rusty on programming, and I have never seen these debugger complaints before.
GNU GCC in Code::Blocks
The errors that the debugger are throwing are :
using namespace std;
/* IN now needs to be converted to a C style string so that it can be manipulated
easier and compared to what is read from the file.
int lng= IN.length();
char in [lng];
// Time to find out what word we're looking for:
cout<<"Enter word to search file for.\n\n";
//Get the text data from the file.
ofstream file_read ("A.txt");
char cstring [F_Read_Length];
//Remember your safe coding practices.
//Convert the data from file to c style string:
cstring[counter] = file_read[counter];
cout<<"Program fail on primary file read. File could not be opened. Quitting. \n\n";
//Time to compare:
/* If what came out of the file equals what was entered,
accumilator in incremented by one for each character.*/
// Otherwise, we lose one.
cout<<"Match not found.\n\n";
error: 'struct std:fstream' has no member named length
error: no match for 'operator' in 'file_read[counter]'