:shock:
QUando tento compilar o seguinte programa em C
ele da um erro :cry:
PROGRAMA:
---------------------------------------
#include<stdio.h>
int main()
{
printf("testando");
return 0;
}
-----------------------------
ERRO QUE É MOSTRADO!:
-------------------------------------------------
vanderley@ubuntu:~$ gcc -o teste programa.c
programa.c:1:18: error: stdio.h: No such file or directory
programa.c: In function ‘main’:
programa.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
vanderley@ubuntu:~$
-------------------------------------------------
minha versão do gcc é:
vanderley@ubuntu:~$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
O que eu devo fazer?