I\'m trying to compile the following program in Ubuntu. But I keep getting the error: \"stdio.h: No such file or directory\" error.
#include
Your Makefile isn't correct, please take a look at one of the many tutorials, for example: http://mrbook.org/tutorials/make/
the simplest Makefile to build a standalone application should look something like that:
all: hello
hello: hello.o
gcc hello.o -o hello
hello.o: hello.cpp
gcc -c hello.cpp
clean:
rm -rf *o hello
Hope it helps !