I am tyring to write a small menu program that will display the lyrics of a
song, and then play the song. I was told that you have to convert the mp3
to wav, did that.
The 2 function calls under each case is included in another header file that
I created. I have the <mmsystem.h> included in the main cpp file. The
functions under the PlaySound function works correctly, but it is not
playing the wav file.
void main()
{
char choice;
do
{
choice = showMenu(28,10);
switch(choice)
{
case '1': PlaySound("c:\01-thir13teen-pms", NULL, SND_FILENAME |
SND_ASYNC);
typeoNegative();
setcolor(0x0017);
break;
case '2': ozzyshot();
setcolor(0x0021);
break;
case '3': pinkfloyd();
setcolor(0x00e0);
break;
case '4': blackSabbath();
setcolor(0x047);
break;
}
}while(choice != '0');
}