Hello everybody!
I'm a so-called newbie at programming in C/C++ and I'm currently working on a poject that searches for a particular string in a file. The user enters the string he/she is searching for, and the program is supposed to return the number of occurrences of the string in the file along with the line numbers at which the string occurs, or an error message saying string not found.
I've managed to write the code for searching for the string (thanks to help I got off the net), but I still need some more help in printing the number of occurrences of the string in the file (if the string is found) along with the line numbers at which the string occurs.
I would really appreciate it if there's anyone out there who's more experienced than I am, and willing to help me out. I would greatly welcome any suggestions or ideas you all might have to throw at me concerning my need for help.
You can e-mail on either one of the following addresses:
<removed per posting guidelines>
Have a smashin' day!...and thank you in advance! ;-)
Beeteh