unresolved externals

menu()
{



char w;



cout<<"\n\n WELCOME TO GRAPHICS AID ENGRAVING\n";
cout<<" POINT-OF-SALE\n";
cout<<"\n What Do you want to do?\n";
cout<<"\n O-Make an Order L-View Product List\n";
cout<<" R-View Reports K-Log-out\n";
cout<<" E-Exit\n";

cout<<" ";
cin>>w;
choices ();
return 0;

}


choices (char x)
{
char ch;

ch=x;

if (ch=='o' || ch=='O')
{
system ("cls");
order();
}
else if (ch=='L'|| ch=='l')
{
system ("cls");
prodlist();
}
else if (ch=='R' || ch=='r')
{
system ("cls");
report();
}
else if (ch=='k' || ch=='K')
{
system ("cls");
log();
}
else if (ch=='e' || ch=='E')
{
system ("cls");
escape ();
}
return ch;
}

here's my code,, i plan to use the function choices in other function that will have choices. but i keep having an error unresolved externals.how can i fix this??
This is very wrong C++.

You've not declared return types on your functions. You've not included the headers necessary for cout, cin and system, and you've neither defined nor predeclared the functions choices, order, prodlist, report, log, and escape.

I am astounded that you can compile this and only run into problems with the linker.

sorry,, how will i delete it?
Topic archived. No new replies allowed.