Hey all, I'm developing a server in Visual Studio 2005, now i want it realy bad to have it also run on linux (Debian to be specifick) The server is command line so thats good i gues But i cant find anything on google, i gues i'm looking at it in the wrong way But can some 1 help me a bit. Howto make a cross platform project for linux/windows +ColdDoT
Haha no cant do, C++ is powerfull, and the project is already written in C++, AND i do not use perl so much and C++ i do
Porting even a simple socket application to work on both linux and windows that just sends bunch of data to some port requires lots of #ifdef's and writing the same functions twice just so they'd work on both OS, you could only imagine how much effort would it take to make a whole project that would work on both OSs let alone others. Basically writing the whole code twice, unless you make a genius plan to isolate segments of code that should work on both OS But what about OS specific functions? What if you can't find an alternative function, I wouldn't get my hands on such project.