Hi... I'm using microsoft visual studio 2005.
I'm trying to trick out my code for a college assignment and I'm stuck trying to add a feature to play a .wma sound at certain parts.

My program is "Hot drink vending machine" so I'm trying to add sounds where the user "inserts coins", "drink dispensed" and "change returned"

I've been referring to
and evilsilver's guide (Oct 19th, 2006) at
because i got the same error as he did

tried googling and searching for other posts but i cant find a solution@_@

now i keep getting
1>main.obj : error LNK2019: unresolved external symbol __imp__PlaySoundA@12 referenced in function _main

#include <windows.h>
#define SND_FILENAME 0x00020000L 
#define SND_LOOP 0x0008 
#define SND_ASYNC 0x0001 

void main ()
    string selectstring="end";
    int select=0, select1=0, select2=0, k=0;
    values test[100];
    int nothing;
    mainprogram start;

        while (select1!=3)
            createTitle("Hot Drink Vending Machine");
            cout << "1. Maintainance Mode\n2. Purchase Drink\n3. Exit\nSelect:: ";
            cin >> select1;
            cout << endl;
//and etc...

1>d:\my documents\documents\school\semester 2\mainprogram\miniproject\custom_functions.h(25) : warning C4018: '<' : signed/unsigned mismatch
1>d:\my documents\documents\school\semester 2\mainprogram\miniproject\custom_functions.h(30) : warning C4018: '<' : signed/unsigned mismatch

these two errors, on the other hand, pop up whenever i have another error but works fine when everything else is ok...

help pls...
thanks in advance =p

ps, anyone have any ideas to what else i cud add?

i also get this::

fatal error LNK1120: 1 unresolved externals

or if i use Codeblock program, it becomes "undefined reference to '_PlaySoundA@12'