I've written a class that is supposed to add songs to a cd track. I need to keep track of the number of songs added to the compact disc so I'm trying to implement a counter within a member function called AddTrack. I've set the counter to zero in the constructor - like other variables, but for some reason my counter starts out with a negative value even though I've set it to zero. Am I placing the counter in the right place? I have it declared in my private class.
Thanks for any suggestions.