c++ projekt over many platforms

I'm dyslectic so have patient whit my spelling!

I'm new to c++ and need some help. The project i'm working on now need to be (almost) platform independent. Its a internet application and i need it to work on win, mac etc.

how should i plan to do it different versions for different platforms where can i get SDK's for other platforms then win what is platform depedent and what should i look for any tips of how i could pull this of


Answer this question

c++ projekt over many platforms

  • lance p

    c++ it self is pretty portable(if you do not use MS extensions MFC etc.). What you need to do is to identify which part of your project is not portable. Non portable part could be handled by special #define or you can use some kind of 3rd party library. Examples of non-portable code:

    1. Threads and sync primitives.

    2. Sockets (MS Winsock 85% portable)

    3. UI

    4. Internet API calls


  • c++ projekt over many platforms