Quote (ShadowFiend @ Jan 2 2014 07:32pm)
remove all the ; after the function name
so it would look like
void displayALL()
{
}
and don't put them in your main
You should also put a default in your switch
When I do that I get
Code
Error 1 error C2601: 'input' : local function definitions are illegal
Error 2 error C2601: 'search' : local function definitions are illegal
Error 3 error C2601: 'edit' : local function definitions are illegal
Error 4 error C2601: 'displayALL' : local function definitions are illegal
edit: I took the voids out of my main function and it worked; I was just confused. Thanks for your help!
This post was edited by INFlNlTY on Jan 2 2014 01:44pm