Hello,
I wonder how I can make it compatible software coded in + + compatible on Windows, Mac and Linux.
Can you tell me the procedure to be followed in the design and compilation for this result.
Thank you
2 replies to this topic
#1
Posted 31 March 2011 - 02:11 PM
|
|
|
#2
Posted 31 March 2011 - 04:56 PM
Simply avoid using platform-specific frameworks and libraries. This includes the Windows-specific .NET, DirectX, and conio.h, the Mac-specific Cocoa API, and the Unix-specific POSIX API. If you want a framework to work with, Mono, GNUStep, Qt, GTK+, and OpenGL are all cross-platform.
You must remember that the source code will be portable, but the binaries won't be. If you want to distribute software to users of Mac, Windows, and Linux, either distribute it as source or compile separate versions for each major platform.
You must remember that the source code will be portable, but the binaries won't be. If you want to distribute software to users of Mac, Windows, and Linux, either distribute it as source or compile separate versions for each major platform.
Programming is a journey, not a destination.
#3
Posted 31 March 2011 - 05:54 PM
Qt, wxWidgets, FLTK, Ultimate++, gtkmm, and many other toolkits will let you write cross-platform programs.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









