do you know where i can find *.h files for C programming? especifically, the ones i need are:
socket.h
in_systm.h
in.h
ip.h
tcp.h
ip_icmp.h
netdb.h
unistd.h
stdlib.h
string.h
Printable View
do you know where i can find *.h files for C programming? especifically, the ones i need are:
socket.h
in_systm.h
in.h
ip.h
tcp.h
ip_icmp.h
netdb.h
unistd.h
stdlib.h
string.h
Read the FAQ.
Your compiler doesn't have 'stdlib.h'? Get a new compiler.
Quzah.
dammit hammer - :D
/edit - good point quzah
...mm, what about string.h?
Well I didn't feel like typing "Your compiler doesn't have ___? Get a new compiler." over and over, so I only did it once. ;)Quote:
Originally posted by Shadow
dammit hammer - :D
/edit - good point quzah
...mm, what about string.h?
Quzah.
I see Quzah...you on the phone again? :p
Original Poster:
Try a new compiler, as the FAQ explains why "send me yaddayadda.h" doesn't work.
Links for all the compilation you need are in Hammer's link.
>do you know where i can find *.h files for C programming?
If your compiler does not have a certain header then you probably will not be able to get it unless a third party library offers the same functionality. The problem is that the header is only the interface to a library that contains the details, so you need both. Even then you will probably still have problems since compiler libraries tend not to work with other compilers.
>unistd.h
If your compiler does not support this then you are most likely not on a POSIX compliant system. In that case unistd.h would fail for some functions even if you could get the library to work.
>stdlib.h
>string.h
These are ISO Standard C headers, if your compiler does not support them then you have either a really really really old compiler, or a homegrown simplistic compiler that shouldn't be used for any real coding.
-Prelude