How to keep count in a struct array & cout is not working

Don't use my code :P
Last edited on
If it's not printing the cout statements it means the code never enters the loop. You should check that you have no problems reading the file.
I couldn't figure out why, but I forgot an 's' on the file name when setting it as a program argument. Fixed it and it works. Thanks.
Topic archived. No new replies allowed.