Problème avec stdio.h
Lermit
-
Lermit -
Lermit -
Bonjour, je viens d'installer Ubuntu sur mon pc portable pour travailler sur mes tp info tranquillement chez moi, mais voilà quand j'essaie de compiler mon programme (qui fonctionne parfaitement à l'iut) le terminal m'écrit ceci:
gcc -c tableauA.c
tableauA.c:1:19: erreur: stdio.h : Aucun fichier ou dossier de ce type
tableauA.c:3:20: erreur: assert.h : Aucun fichier ou dossier de ce type
tableauA.c: Dans la fonction «renseigner» :
tableauA.c:11: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:13: attention : incompatible implicit declaration of built-in function «scanf»
tableauA.c: Dans la fonction «afficher» :
tableauA.c:20: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:28: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c: Dans la fonction «afficher_rev» :
tableauA.c:35: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:43: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c: Dans la fonction «main» :
tableauA.c:62: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:63: attention : incompatible implicit declaration of built-in function «scanf»
en fait il ne prend pas en compte la bibliothèque stdio.h, j'aimerais votre aide pour résoudre ce léger soucis technique
Merci d'avance
gcc -c tableauA.c
tableauA.c:1:19: erreur: stdio.h : Aucun fichier ou dossier de ce type
tableauA.c:3:20: erreur: assert.h : Aucun fichier ou dossier de ce type
tableauA.c: Dans la fonction «renseigner» :
tableauA.c:11: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:13: attention : incompatible implicit declaration of built-in function «scanf»
tableauA.c: Dans la fonction «afficher» :
tableauA.c:20: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:28: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c: Dans la fonction «afficher_rev» :
tableauA.c:35: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:43: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c: Dans la fonction «main» :
tableauA.c:62: attention : incompatible implicit declaration of built-in function «printf»
tableauA.c:63: attention : incompatible implicit declaration of built-in function «scanf»
en fait il ne prend pas en compte la bibliothèque stdio.h, j'aimerais votre aide pour résoudre ce léger soucis technique
Merci d'avance
A voir également:
- How to install stdio.h
- How to change qwerty to azerty - Guide
- How to change dns - Guide
- How to dual boot - Guide
- Install microsoft store - Guide
- Mb to mo - Forum Matériel & Système
4 réponses
merci de m'avoir répondu mais il y a un truc bizarre quand je tape votre ligne de code, il me demande un mot de passe mais je n'arrive pas à l'écrire:
[sudo] password for nathan:
Sorry, try again.
[sudo] password for nathan:
Sorry, try again.