break was the issue after all,i wrote one break in every if loop an the problem is solved.So now the question is why "break"?
Type: Posts; User: giannis1990
break was the issue after all,i wrote one break in every if loop an the problem is solved.So now the question is why "break"?
arxeio=first; s=0;
while(arxeio!=NULL)
{
if (arxeio->aStudent->idNumber==iddel)
{
printf("erasing id...
Unfortunatelly typedef,ClassNodeType is part of the exercise,i dont see any reason either to make things complicated!I write code with devC++ beacuse this is the program we use in my class,malloc...
#include<stdio.h>#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<stdlib.h>
struct StudentRecord {
char *courseName;
float Mark;
struct StudentRecord *next;