basically I am taking user input and using it to delete from a list, when this error has just been thrown. The code was working literally an hour ago so I don't know why Visual studio is now chucking a fit about it.
char courseName[100];
scanf("%s", courseName);
deletefromlist(&list, &courseName);
deletefrom
list function takes (Courselist * self, char * data)
as arguments.
How can i correct this error and in future avoid it? cheers!