The error I'm getting makes NO sense seeing as I'm defining the functions it's confused about directly above.
The error:
undefined reference to `accMan()'
undefined reference to `bookMan()'
undefined reference to `lend()'
undefined reference to `getBack()'
undefined reference to `tellMenu()'
undefined reference to `tellMenuAcc()'
undefined reference to `tellAllBooks()'
undefined reference to `tellAllAccounts()'
My code:
//Interface Functions
void bookMan();
void accMan();
void lend();
void getBack();
void tellMenu();
void tellMenuAcc();
void tellAllBooks();
void tellAllAccounts();
void go(int which)
{
switch(which)
{
case 1:
accMan();
break;
case 2:
bookMan();
break;
case 3:
lend();
break;
case 4:
getBack();
break;
case 5:
tellMenu();
break;
case 6:
tellMenuAcc();
break;
case 7:
tellAllBooks();
break;
case 8:
tellAllAccounts();
break;
case 9:
break;
default:
break;
}
}
I've got just some prototypes, and a function that starts other functions. The parts that it's complaining about make no sense to me.