How do I play sound in a program developed in the C / C ++ language? Environment (WINDOWS)
How do I play sound in a program developed in the C / C ++ language? Environment (WINDOWS)
The PlaySound function plays a sound specified by the given file name. take a look at the MSDN data for better information - > PlaySound MSDN
Example:
PlaySound(TEXT("HYPNOS_BGM\new_connection.wav"), NULL, SND_SYNC);