Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is C++ builder incompatible with other c++ compilers?

Status
Not open for further replies.

spoony

IS-IT--Management
Sep 18, 2002
1
AU
I was excited when I knew that kylix3 was a linux version of C++ builder & Delphi. I really want to program once, and let my program run either on Linux or Windows.
I used to develope applications with Visual C ++, which is heavily related to Microsoft Windows. Thus I decided to shift to C++ builder, But I was dispointed after I checked C++ code generated by C++ Builder, which is incompatible with any other compiler.
For example, It is impossible to implement "__published" and "pragma resource" with standard C++ grammar. Thus C++ Builder code must be compiled by bcc.In other hand, The VC++ framwork is generated with standard C++ grammar, thus it is possible to compile the code with alternative compiler.
 
1) Try using QT as a graphical system. It will run on windows, unix and a few other OSs, including palmtops. See for details.

2) Keep to the standard stuff: you will get porting problems otherwise.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top