Thank you everyone! I was able to fix my original code. I just had to to reset the flag counter, add "counter!=0" to if statement along with flag!= 0 and move counter++ and i++ within the...
Type: Posts; User: oceans
Thank you everyone! I was able to fix my original code. I just had to to reset the flag counter, add "counter!=0" to if statement along with flag!= 0 and move counter++ and i++ within the...
file format is basically comma delimited course names and multiple functions will definitely make it easier but i'm required to do it all in one function.
Hello all,
I have been trying to write this program that reads a file of courses and then stores only the unique courses in an array of strings.
for some reason it crashes while reading the 2nd...