-1
I’m still new with programming and wanted to put the sound of Super Mario inside a college project, as I do so it can work?
Code:
int certo=0,errado=0,certoVF=0,certoA=0;
char resposta,r1,r2,r3,r4,r5,r6,r7;
int nivel,v,x;
printf ("\t| 0 - SAIR DO GAME |\n");
printf ("\t| 1 - JOGAR TODOS OS NÍVEIS |\n");
printf ("\t| 2 - JOGAR NIVEL FÁCIL - SOMENTE O NIVEL FÁCIL |\n");
printf ("\t| 3 - JOGAR NIVEL MÉDIO - SOMENTE O NIVEL MÉDIO |\n");
printf ("\t| 4 - JOGAR NIVEL DIFÍCIL - SOMENTE O NIVEL DIFÍCIL |\n");
printf ("\t Oque deseja fazer? ");
scanf ("%d",&nivel);
What is your OS? Already have some code or searched something?
– Tuxpilgrim
windows, I found the sound code, but at the time of putting in the game code did not work
– Murilo
If possible edit the question by adding the code snippet where you insert the function calling the sound, followed by the error (if you have given any). Then we can give a direction :)
– Tuxpilgrim
I got it right at the beginning, tried to use the for and right after the code of the game menu, then beep them to make the sound. only that he plays the music and does not go forward with the questions
– Murilo