ValconGod
New Coder
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<windows.h>
#include<windowsx.h>
#include<MMsystem.h>
int main() {
PlaySound("C:\\Users\\emrec\\Desktop\\sounds\\song.wav",NULL,SND_SYNC);
char uname[20];
int yes,ways1,choice;
printf("Welcome to the Dungeons and Maths \n Press any key to continue.");
}
The playsound function does work but codes after that line doesnt.I see a black screen terminal with song.
What do you guys think?
#include<stdlib.h>
#include<conio.h>
#include<windows.h>
#include<windowsx.h>
#include<MMsystem.h>
int main() {
PlaySound("C:\\Users\\emrec\\Desktop\\sounds\\song.wav",NULL,SND_SYNC);
char uname[20];
int yes,ways1,choice;
printf("Welcome to the Dungeons and Maths \n Press any key to continue.");
}
The playsound function does work but codes after that line doesnt.I see a black screen terminal with song.
What do you guys think?