Public bug reported:

ok this is a simple program in C...

/*file name: primoprogramma.c */

#include <stdio.h>

int main(void)
{
 system("clear");
 printf("This is my first program in ANSI C\n");
 return(1);
}


when I try to compile it,this is what GCC returns:

primoprogramma.c:1:19: error: stdio.h: No such file or directory
primoprogramma.c: In function ‘main’:
primoprogramma.c:6: warning: incompatible implicit declaration of built-in 
function ‘printf’

Now the question is...Where are the libraries?

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
Where are .h libraries for gcc compiler?
https://bugs.launchpad.net/bugs/114244
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to