Ok, well I have an assignment, and I'll be needing some help.
First off, I need help on counting the number of from a text file.
I'm not sure if I should do a loop eg :
for (j=0, j<26; j++)
or there may be an easier way. I have looked around Google, and all I don't really get anything that speaks out clearly to me. However I have read mentions to the use of getline.
I know I need
#include <fstream>
ifstream inData;
inData.open(music.txt);
at the beginning, and considering this part of my program will not be in main (it'll be as a void), I'll need help with this type of thing too.
The little tidbit of the loop is to also deal with the alphabetic characters, however I'm doubting it deals with the numerics as well, if I stick with a loop, do I have to do something else apart from j<36?
This is just the first part of what I need done, I'll ask other questions later on.