Posted on 1998-12-15
I want to use the strchr function to scan a document of text. Problem is, I know how to use that function to scan an input or predefined string, but not a document.
Here's the program..
Right now, it basically looks like WordPad. I need strchr() to scan each character in order to find a couple of "special" characters (defined in an array, that part is taken care of.)
However, I'm not sure how to get strchr to actually SCAN from a document like that...
I'm using MSVC++ 4.0 (or could use 5.0 if there's something easier that I don't know about).
I am *NOT* using MFC.
Please reply with any suggestions or questions about my question, if need be. =)