I'm trying to get this function to read characters from an external file one by one, but i cant seem to get it to work.
when i do "FileIn.get(Ch);" the Ch variable is always ASCII value -52 (the default) and when i switched that to "Ch=FileIn.get();" the Ch variable changed to ASCII -1(it should have been 'M') also every other time i did "Ch=FileIn.get()" it did not change the Ch variable.
You are opening it correctly. However I doubt that your filename is correct.
Do your file really have .5 extension? Or is it a regular text file which have happened to have a name words.5? If so, the filename should be words.5.txt