I have a project I need to do in which I need to look at a file, scan it, and show any occurances of C++ operators or variables. Like finding how many times int is shown.
The only help I'm looking for is could someone point me to, or show me, how I would scan a text file character by character and check it? There's a lot more to the project, but I can do that on my own. This is the part I'm stuck on.
Thanks in advance.