I'm coming to the closing stages of my assignment (which is to create a media player) and all the functionality is there and now works fine.
The problem I have is that the media player contains an mp3 player and a cd player. When you launch the media player you select the player you want and can then swap between the two players.
HOWEVER: when swapping from the mp3 to the cd player, the application hangs. I've narrowed it down to hanging on this line:
The cd player works fine if opened first - assumably then, the Mp3 player is doing something that causes the cd player to hang...
ifstream CDList ("C:\\Documents and settings\\L&S\\Desktop\\c\\Assignment\\Backup\\CdList.txt");
This is my first real application in c++ and I'm struggling to understand why it happens. There are no error messages, no crashes - nothing. It just pauses... Even the cursor still blinks in the console...
If you need all the code i'll gladly post it but it is about 400lines long!