Unable to compile simple c program in Linux Mint 15
I am a Linux Mint 15 User. i wanted to write simple program in C. Below is my code.(hw.c) #include<stdio.h> #include<conio.h> int main() { printf("Hello World"); } But, when i try to compile it with gcc gcc -o hw hw.c it gives me an error hw.c:1:18: fatal error: stdio.h: No such file or directory compilation terminated. I googled and found some solutions which say to install build-essential and tried to install it sudo apt-get install build-essintial but it gives an error again. The error is Some packages could not be installed. This may mean that you have requested an impossible situation or