I've so far only ever used Python and Java for programming, but recently I now have to learn C for a class. I ran into a problem while trying to compile things however. When attempting to compile a simple program such as:
Code:
#include <stdio.h>
main()
{
printf("Hello world");
}
gcc returns the error:
Quote:
test.c:1:19: error: stdio.h: No such file or directory
test.c: In function ‘main’:
test.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
|
The only other thread I could find for it was for redhat and it suggested that the header files are kept in a seperate package. Is there a seperate debian package I have to install to get the C libraries?
I am using Debain Testing.