gcc error

okay dokay, so im trying to compile some c programs.
I used sudo apt-get install build-essential.
I have stdio.h in /usr/include/

but when i use the command gcc example.c -o example

it gives me the following error: 1:20: error: stdio.h: No such file or directory

im runing ubuntu 9.04 on a virtual machine. (virtualbox)

Have you...

Have you navigated into the directory the file/program is in?

See "How to install ANYTHING in Ubuntu!" at http://amitech.50webs.com/installing/index.php.html

yep, also doing gcc -v in the

yep, also doing gcc -v in the terminal tells me that i have 4.3.3 installed atm.

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

ok problem solver thx for the

ok problem solver thx for the quick reply

Solution?

Would you like to share the solution with us?