Thread: compiling Hello World in C
i c , c++ going on ubuntu 11. i've been trying few hours hello world going in c. have programming experience in java , php not c or c++.
i error:code:#include < stdio.h> void main() { printf("\nhello world\n"); }
stdio.h: no such file or directory
compilation terminated.
after googling tried sudo apt-get install build-essentials no change. need put source file in specific directory?
p.s.
when running locate stdio.h get:
/usr/include/stdio.h
/usr/include/bits/stdio.h
/usr/lib/perl/5.10.1/core/nostdio.h
/usr/lib/syslinux/com32/include/stdio.h
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] compiling Hello World in C
Ubuntu

Comments
Post a Comment