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
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.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Your compiler doesn't have 'stdlib.h'? Get a new compiler.
Quzah.
Hope is the first step on the road to disappointment.
dammit hammer -
/edit - good point quzah
...mm, what about string.h?
The world is waiting. I must leave you now.
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.Originally posted by Shadow
dammit hammer -
/edit - good point quzah
...mm, what about string.h?
Quzah.
Hope is the first step on the road to disappointment.
I see Quzah...you on the phone again?
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.
The world is waiting. I must leave you now.
>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
My best code is written with the delete key.