C Programming | error: stdio.h: No such file or directory

I was trying to write a simple program in c and it kept on showing the following error whenever i tried to compile it

“error: stdio.h: No such file or directory”

After a little googling I found that C standard libraries are stored in libc6-dev, This want installed in my machine. Installing libc6-dev solved the problem.

To intall libc6-dev In ubnutu type in the follwoing in the terminal

sudo apt-get install libc6-dev

Page 4 of 4«1234