Debian and C dev stuff...

Matthew Hawkins matt at mh.dropbear.id.au
Wed Mar 26 03:08:58 EST 2003


Peter Lavender (plaven at bigpond.net.au) wrote:

> Thanks... turns out what I wanted was the libc stuff (?)

libc6-dev so you have the header files for the GNU C library.
I'd like to hope build-essential depends on that ;)

> and to include the right header name:
> 
> #include <stdio>
> 
> instead of 
> 
> #include <stdio.h>

Umm... is this a new thing in C99 ?  As far as I know, the trailing .h
is required for C headers.  Naturally you omit it in C++ headers, eg

#include <stdio.h>

in C, and

#include <iostream>

in C++

-- 
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20030326/7bcdf1e6/attachment.bin


More information about the linux mailing list