Tuesday, July 28, 2009

Is there any c++ development tool where you can just compile and run programs in Windows and Linux ?

Or something similar and less difficult to make programs platform independent.

Is there any c++ development tool where you can just compile and run programs in Windows and Linux ?
c++ is a platform independent language, so you should be able to compile your programs using any standards compliant compiler on either platform.





An open compiler g++ is a GNU open source compiler available for many environments, including Windows and Linux. See http://gcc.gnu.org for more information.





If you asking for a platform independent Integrated Development Environment (IDE), then consider Eclipse. Another GNU open source program. See http://www.eclipse.org/ for more information.





Remember that c++ does not have any graphic user interface definitions included in the language. If you are trying to produce platform independent graphic programs you need to choose a platform independent graphical toolkit like Qt from http://www.trolltech.com. This is a dominant toolkit for Linux that also works as a Microsoft Visual Studio add-in. The same code can be compiled in both environments. Obviously, you must be running an X-server under Linux to view the graphics.





HTH,


Dale
Reply:Try Dev-c++





search this word at Google and download from there..
Reply:I think Dev C++ can do that, but I'm not sure.
Reply:Yep, Microsofts free downloads come in both flavours. I think you would have to have both installed to do it.





Msdn in google should find them.


No comments:

Post a Comment