title: PlaySound in C++
body: <p>I'm trying to play sounds in my C++ app. We were given a guide to using XACT for it but I can't get it to work so I'm trying to use the PlaySound functions. </p>
  
  <p>This is what i've tried. I've also tried it with the whole directory link to where it is saved. </p>
  
  <pre><code> int main() { 
          PlaySound("background.mp3", NULL, SND_SYNC); 
      }
  </code></pre>
  
  <p>This is the errors it throws up</p>
  
  <pre><code>Error   7   error LNK2019: unresolved external symbol __imp__PlaySoundA@12 referenced in function _main C:\Users\Siyico\Desktop\Legit\w9base\wingl2013_14\SpaceGame.obj wingl2013_14
  
  Error   8   error LNK1120: 1 unresolved externals   C:\Users\Siyico\Desktop\Legit\w9base\Debug\wingl2013_14.exe 1   1   wingl2013_14
  </code></pre>