How can i make a application which can run on mac/linux/windows?
-
Hi All, I want to make a application which can run on all three platform (MAC/Linux/Windows). i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++. any suggestion would be greatfiull to me. thanks Bankey
-
Hi All, I want to make a application which can run on all three platform (MAC/Linux/Windows). i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++. any suggestion would be greatfiull to me. thanks Bankey
bankey1010 wrote:
i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++.
Depends what you mean by "it is possible" :-D . You can't make the same executable run on different platform, because the format is different for each of the platform. However, if you stick to pure standard C++, then the only thing you will have to do is recompile your code for each of the platform using a different compiler. But of course, you'll probably need more than just standard C++ and there are some cross-platform GUI libraries that exist which allow you to write cross-platform code. Look for instance at wxWidgets[^].
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
Hi All, I want to make a application which can run on all three platform (MAC/Linux/Windows). i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++. any suggestion would be greatfiull to me. thanks Bankey
bankey1010 wrote:
i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++
C/C++ is general purpose language. Even if you decide to do that with Pure C/C++, you will have to get support from Operating system. What about trying QT?[^] Cross-platform Development[^]
-Sarath. "Great hopes make everything great possible" - Benjamin Franklin
My blog - Sharing My Thoughts
-
Hi All, I want to make a application which can run on all three platform (MAC/Linux/Windows). i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++. any suggestion would be greatfiull to me. thanks Bankey
-
Hi All, I want to make a application which can run on all three platform (MAC/Linux/Windows). i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++. any suggestion would be greatfiull to me. thanks Bankey