[c] gestion aide pour débutante...
mary
-
tatou_38 Messages postés 1220 Date d'inscription Statut Membre Dernière intervention -
tatou_38 Messages postés 1220 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
bonjour,
J'ai commencé à programmer en c depuis peu et je m'entraîne avec un programme sur la gestion de produit, j'ai beau relire, je n'arrive pas à corriger mes erreurs si quelqu'un pourrait m'aidez,?
mon mail:
Mary.Chang.asie@gmail.com
merci
bonjour,
J'ai commencé à programmer en c depuis peu et je m'entraîne avec un programme sur la gestion de produit, j'ai beau relire, je n'arrive pas à corriger mes erreurs si quelqu'un pourrait m'aidez,?
mon mail:
Mary.Chang.asie@gmail.com
merci
Configuration: Windows XP Firefox 2.0.0.13
3 réponses
-
Ok, pour t'aider, mais il faudrait peut-être nous montrer ton code et ce que te donne ton compilo !
-
merci , voici le lien:
[url]http://dl.free.fr/getfile.pl?file=/dwB65Q5R/perso.c [/url]
warning C4013: 'getch' undefined; assuming extern returning int warning C4047: '<' : 'char [10]' differs in levels of indirection from 'const int ' warning C4013: 'LirevChaine' undefined; assuming extern returning int warning C4013: 'TriP' undefined; assuming extern returning int warning C4101: 'a' : unreferenced local variable warning C4101: 'x' : unreferenced local variable warning C4013: 'RechercheProduit' undefined; assuming extern returning int error C2065: 'NumProduit' : undeclared identifier warning C4047: '>' : 'struct index *' differs in levels of indirection from 'int ' warning C4013: 'DoublonC' undefined; assuming extern returning int Error executing cl.exe. perso.obj - 1 error(s), 9 warning(s)
-
-
merci, voici le lien:
[url]http://dl.free.fr/getfile.pl?file=/dwB65Q5R/perso.c[/url]
Compiling...
perso.c
(133) : warning C4013: 'getch' undefined; assuming extern returning int
(322) : warning C4047: '<' : 'char [10]' differs in levels of indirection from 'const int '
(331) : warning C4013: 'LirevChaine' undefined; assuming extern returning int
(362) : warning C4013: 'TriP' undefined; assuming extern returning int
(271) : warning C4101: 'a' : unreferenced local variable
(271) : warning C4101: 'x' : unreferenced local variable
(535) : warning C4013: 'RechercheProduit' undefined; assuming extern returning int
(613) : error C2065: 'NumProduit' : undeclared identifier
(613) : warning C4047: '>' : 'struct index *' differs in levels of indirection from 'int '
(777) : warning C4013: 'DoublonC' undefined; assuming extern returning int
Error executing cl.exe.
perso.obj - 1 error(s), 9 warning(s) -
merci , j'ai corrigé plusieurs erreurs et quand j'exécute toute s'affiche en boucle, quelqu'un pourrait m'aider à corriger ou à me dire ce qu'il ne va pas??
lien corrigé:
[url]http://dl.free.fr/getfile.pl?file=/irEC2oqy/perso.c[/url]
merci-
-
Mary,
Voici le programme corrigé (au niveau syntaxique) : http://dl.free.fr/getfile.pl?file=/YJypLOpa/perso_c.c
Je t'ai fait quelques commentaires en tête.
Si questions, je suis là ( tatou_38 à yahoo.fr )
-