delete(int list)
{
int i, j, row;
char temp_last[max], temp_frst[max];
clrscr();
gotoxy(1,21);
printf("Delete Data");
printf("\n-----------------");
gotoxy(1,23);
printf("Last name : ");
gets(temp_last);
gotoxy(1,24);
printf("First name : ");
gets(temp_frst);
/*for(i=0; i<=list; i++)
{
if(stricmp(record[i].last_name, temp_last)==0 && stricmp(record[i].frst_name, temp_frst)==0)
{
for(j=i; j<list; j++)
{
temp_last=record[j+1].last_name; /*<------Error on this . line */
temp_frst=record[j+1].frst_name;
record[j].last_name=temp_last;
record[j].frst_name=temp_frst;
}
record[j].last_name=NULL;
record[j].frst_name=NULL; /*<------Up to this*/
}
}*/
}
under the comment is where it says Error: Lvalue required in function delete
I dont understand what this means, pls help