#include <windows.h>
#include <stdio.h>
void _int_(int _int);
void clrscr();
int main()
{
int _int=0x0;
while(_int<=0x18)
{
printf(
"1 -> echale pique"
"\n2 -> lithium"
"\n3 -> seducirme"
"\n4 -> no le digas que no"
"\n5 -> call my never"
"\n6 -> In The Dark"
"\n7 -> lord of trance"
"\n8 -> ScottFisher Moholithic Filter"
"\n9 -> rosas"
"\n10 -> sin miedo a nada"
"\n11 -> divo"
"\n12 -> de musica ligera"
"\n13 -> decode"
"\n14 -> si te vas con el"
"\n15 -> Cry for the Moon"
"\n16 -> the phantom agony"
"\n17 -> a sequel of decay"
"\n18 -> beyond the veil"
"\n19 -> bad"
"\n20 -> ayo technology"
"\n21 -> thriller michael jackson"
"\n22 -> techos de carton"
"\n23 -> la cancion de luis mariano"
"\n24 -> my inmortal\n\t");
scanf("%d",&_int);
_int_(_int);
clrscr();
}
return 0;
}
void _int_(int _int)
{
clrscr();
//FreeConsole();
switch(_int)
{
case 1:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t echale pique");
sndPlaySound("C:\\Users\\jorge\\Music\\arabmusic.wav",0);
break;
case 2:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t lithium");
PlaySound("C:\\musica\\lithium.wav",NULL,SND_FILENAME);
break;
case 3:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t seducirme");
PlaySound("C:\\musica\\seducirme.wav",NULL,SND_FILENAME);
break;
case 4:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t no le digas que no");
PlaySound("C:\\musica\\no le digas que no.wav",NULL,SND_FILENAME);
break;
case 5:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t call my never");
PlaySound("C:\\musica\\call my never.wav",NULL,SND_FILENAME);
break;
case 6:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t In The Dark");
PlaySound("C:\\musica\\In The Dark.wav",NULL,SND_FILENAME);
break;
case 7:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t lord of trance");
PlaySound("C:\\musica\\lord of trance.wav",NULL,SND_FILENAME);
break;
case 8:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t ScottFisher Moholithic Filter");
PlaySound("C:\\musica\\ScottFisher Moholithic Filter.wav",NULL,SND_FILENAME);
break;
case 9:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t rosas");
PlaySound("C:\\musica\\rosas.wav",NULL,SND_FILENAME);
break;
case 10:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t sin miedo a nada");
PlaySound("C:\\musica\\sin miedo a nada.wav",NULL,SND_FILENAME);
break;
case 11:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t divo");
PlaySound("C:\\musica\\divo.wav",NULL,SND_FILENAME);
break;
case 12:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t de musica ligera");
PlaySound("C:\\musica\\de musica ligera.wav",NULL,SND_FILENAME);
break;
case 13:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t decode");
PlaySound("C:\\musica\\decode.wav",NULL,SND_FILENAME);
break;
case 14:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t si te vas con el");
PlaySound("C:\\musica\\si te vas con el.wav",NULL,SND_FILENAME);
break;
case 15:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t Cry for the Moon");
PlaySound("C:\\musica\\Cry for the Moon.wav",NULL,SND_FILENAME);
break;
case 16:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t the phantom agony");
PlaySound("C:\\musica\\.wav",NULL,SND_FILENAME);
break;
case 17:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t a sequel of decay");
PlaySound("C:\\musica\\a sequel of decay.wav",NULL,SND_FILENAME);
break;
case 18:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t beyond the veil");
PlaySound("C:\\musica\\beyond the veil.wav",NULL,SND_FILENAME);
break;
case 19:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t bad");
PlaySound("C:\\musica\\bad.wav",NULL,SND_FILENAME);
break;
case 20:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t ayo technology");
PlaySound("C:\\musica\\ayo technology.wav",NULL,SND_FILENAME);
break;
case 21:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t thriller michael jackson");
PlaySound("C:\\musica\\thriller michael jackson.wav",NULL,SND_FILENAME);
break;
case 22:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t techos de carton");
PlaySound("C:\\musica\\techos de carton.wav",NULL,SND_FILENAME);
break;
case 23:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n la cancion de luis mariano");
PlaySound("C:\\musica\\ali primera.wav",NULL,SND_FILENAME);
break;
case 24:
printf("\n\n\n\n\n\n\n\n\n\t reproduciendo...\n\t my inmortal");
PlaySound("C:\\musica\\My Inmortal.wav",NULL,SND_FILENAME);
break;
}
}
void clrscr()
{
COORD cOrd;
DWORD writen;
HANDLE stdOut = GetStdHandle(STD_OUTPUT_HANDLE);
cOrd.X = 0;
cOrd.Y = 0;
CONSOLE_SCREEN_BUFFER_INFO cInfo;
GetConsoleScreenBufferInfo(stdOut, &cInfo);
FillConsoleOutputCharacterW(stdOut, L' ', cInfo.dwSize.X * cInfo.dwSize.Y, cOrd, &writen);
SetConsoleCursorPosition(stdOut, cOrd);
}