PlaySound function (Windows)
Scroll right to the end, where it tells you about winmm.lib
You need to tell the compiler, actually the linker, where to get the code that implements the function.
PlaySound function (Windows)
Scroll right to the end, where it tells you about winmm.lib
You need to tell the compiler, actually the linker, where to get the code that implements the function.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.