+ 2
Please can you check where the error is
Check please the function /333/ and /4444/ This a programm for client system management using linked list https://code.sololearn.com/c1t7tTHJ79dD/?ref=app
8 Réponses
+ 4
Its a ide in problm your code is working fine.
+ 3
Andrena no it is executing but not working properly
+ 2
Brian basically in my IDE the code is executed but there some problems in functioning
+ 2
It can execute, but it cannot execute correctly unless you make the indicated corrections. Eliminate the errors and warnings. To help you focus, there are problems in lines 76, 89-91, 94, 118, 124, 163, 215, 220, 232, 236, 264, 268, 277 and more. The messages tell you the line number and the problem.
+ 2
amal 01let us focus on just a few of the problems now, and maybe you will understand what I have been saying. Fix the problems below and all the other lines that I listed before, plus all the other problems that the SoloLearn compiler has been warning about.
Line 89 currently uses wrong pointer syntax:
scanf("%s",&nc->nom);
It should be either:
scanf("%s",nc->nom);
Or
scanf("%s",&nc->nom[0]);
Line 94 currently looks like this:
if(liste=NULL) return nc;
It is has an assignment operator instead of a comparison operator. You must corrected it to this:
if(liste==NULL) return nc;
Line 118 has an uninitialized variable, x, that gets used later in line 134.
+ 1
The SoloLearn compiler is telling you where it found problems. Read the warnings and line numbers that they list - invalid pointer syntax, mixed up "=" for "==" and vice versa, uninitialized variable, and missing or unreachable return statements.
Most of them are serious issues that must be fixed before you hunt for other issues.
+ 1
Brian do you mean that eventhough it is executing in my IDE , in sololearn can not until every thing is working properly???
+ 1
No sir. Regardless of run-time environment, the problems that the SoloLearn compiler reports to you are genuine coding errors. The code cannot give correct results unless you fix them. Did you look at the lines and read the warnings? Most of the errors should be self-evident when you examine them.