Problème avec stdio.h

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
Configuration: Linux
Firefox 3.0

4 réponses

  1. Lermit
     
    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.
    0
  2. mype Messages postés 2459 Date d'inscription   Statut Membre Dernière intervention   437
     
    c'est normal que quand tu tapes ton mot de passe il ne s'affiche rien avec ubuntu mais la saisie est quand meme fait
    tu tapes ton mot de passe et quand tu as finis tapes entree meme s'il n'affiche rien
    0
  3. Lermit
     
    Je te remercie énormément pour ton aide, tout fonctione bien
    0
  4. mype Messages postés 2459 Date d'inscription   Statut Membre Dernière intervention   437
     
    tape dans un terminal
    sudo aptitude install build-essential
    -1