Need a help in my code here. I do everything that i can do but its still has an

dhen

New member
error.Can someone pls help me? This is the part of my program that has an error.

void process(int choice,list*mylist);
switch(choice){
case 1: num =getRecord(mylist);
AddEntry(mylist,num);
printf("\n Record Inserted!");
break;
case 2: num = getnum();
DeletEntry(mylist,num);
break;
case 3:DisplayEntry(mylist->Node);
break;
case 4: num = getnum();
ModifyEntry(mylist, num);
break;
case 5: num =getnum();
SearchID(mylist,num);
break;
case 6: clrscr();


It says that the declaration is terminated incorrectly in the part of the switch(choice).
I think my code is correct then what is the problem? Thanks for those who will help. :)
 
Back
Top