The code in my title page file compiles fine but when it tries to link, it totally screws up. What am i doing wrong?
Here's the function
void title(){
int choice=0;
if( dbDownKey() )
choice++;
if ( choice>=3 )
choice=0;
switch ( choice ){
case 0 :
{
PokeText(0,512,16,"-> New Game",true,false);
PokeText(0,532,16,"Options",true,false);
PokeText(0,552,16,"Quit",true,false);
}
case 1 :
{
PokeText(0,512,16,"New Game",true,false);
PokeText(0,532,16,"-> Options",true,false);
PokeText(0,552,16,"Quit",true,false);
}
case 2 :
{
PokeText(0,512,16,"New Game",true,false);
PokeText(0,532,16,"Options",true,false);
PokeText(0,552,16,"-> Quit",true,false);
}
}
}
And this is the error I get:
title.obj : error LNK2019: unresolved external symbol "void __cdecl PokeText(int,int,int,char *,bool,bool)" (?PokeText@@YAXHHHPAD_N1@Z) referenced in function "void __cdecl title(void)" (?title@@YAXXZ)