Author Topic: problem under ubuntu with stdio.h  (Read 4858 times)

gimpy

  • Guest
problem under ubuntu with stdio.h
« on: December 12, 2008, 01:19:20 am »
Im a newby in that domain and im trying to run that simple program:

#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}


the prob is that it shows me a error that is not able to find stdio.h and stlib.h could you help me to find it im not able to locate it anywhere ?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: problem under ubuntu with stdio.h
« Reply #1 on: December 12, 2008, 06:50:12 am »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: problem under ubuntu with stdio.h
« Reply #2 on: December 12, 2008, 07:47:32 am »
You are missing the package "libc6-dev" and most likely more packages with development-files/headers.

gimpy

  • Guest
Re: problem under ubuntu with stdio.h
« Reply #3 on: December 12, 2008, 06:48:53 pm »
thanks i download the lib and that fix my problem