I am trying to add sound into a whack a mole game for my C++ 101 class. I found this code on the internet
PlaySound("woofwoof.wav",NULL,SND_NODEFAULT);
to add code and have it work the site says this:
"It's defined in <mmsystem.h> and you have to link with winmm.lib."
What does it mean for me to link my program with that .lib file? Do I need to find that file somewhere on the internet and what is the procedure for linking a file with my program? I am using VC++.
This is the site I found
http://msdn2.microsoft.com/en-us/magazine/cc188692.aspx
Its about half way down.
Thanks