View Full Version: portability

C++ Learning Community > Computer Lab > portability


Title: portability


Consumed - October 7, 2004 03:34 AM (GMT)
I've been programming on win for the longest time, and I've been wanting to learn how to make portable stuff. For instance, sockets. I've heard that BSD sockets are cross-platform, and I checked google, but it doesn't seem that MinGW has the headers I need for them. So if you know where I can get all the stuff I need for that, that'd be great. And what about headers and libs that are portable? Are there many functions in the C library that aren't cross-platform? Such as beginthread and endthread for instance. Are there any libraries you know of that would make it easy to make cross-platform progs? Any info I can get would be helpful. I want to make stuff that will work on anything. Not just win.



-Cons

C-Man - October 7, 2004 06:29 AM (GMT)
fro threads i think theres a pthread.h and sockets can be ported with minimal #ifdef/#else/#endif




* Hosted for free by InvisionFree