Which API is the best for developing cross platform C++ applications

Which API is the best for developing cross platform C++ applications

Post by e.. » Sun, 11 Feb 2001 12:23:39



Hi,

I trying to develop a small text editor like application, and I want
to make cross-platform (Linux-Windows). I've developed on widows
before using C++Builder, and it was mostly a good experience. Now,
however, I developing Java application on Linux (RedHat) using Emacs,
and I like it very very much. So, I want to develop this application
using Emacs on Linux. Since I'll be using C++ in Linux for the first
time, and developing a cross-platform application for the first time I
thought I'd ask around for the best way to do this. What are the
available APIs? Which are more suited for cross-platform development
(like use cygwin on windows), and which have RAD capabilities?

                        thanks.

--
#############################################
 # # # #                             # # # #
  # # #   ALWAYS BE TRUE TO ONESELF   # # #
 ###########################################

 
 
 

Which API is the best for developing cross platform C++ applications

Post by Robben Mari » Sun, 11 Feb 2001 20:11:40


Well, I'm programming in Builder too and Inprise has finally released Kylix.
Kylix makes use of the CLX (a platform-independent component library).
Although the first release of Kylix only supports delphi, they (Inprise)
will release a C++ version in august. You should check out the Inprise site
for more information about Kylix.

 
 
 

1. Question RE: developing cross-platform applications

Greetings, Master Coders --

I'm about to embark on a software development project in which I will be
developing an application which I want to run on several different
operating platforms (initially just *NIX variants and MS-Windows, but
eventually others -- maybe BeOs; MacOS, etc.).  It will be a network
service (think POP mail or LDAP server) so user interface issues aren't
my main concern.  What I am worried about are what I would call the
"basics": endianness, word size, how to do basic disk i/o, etc.

So as a "for instance", something as simple as an integer variable means
very different things on various systems.  Is my int a 32-bit int or a
64-bit int?  Is it big-endian, or little-endian? The answer depends on
your platform.  I obviously want to write the core code for my app in
such a way that I can get exactly what I need on all platforms without
actually rewriting the entire application for each platform.

Now I could probably work out some system of #ifdef's and #define's to
do a lot of this, but if somebody has worked a lot of this out I'd
rather not re-invent the wheel.

I am wondering if anybody out there could recommend a book or article or
web page or something that gives practical, concrete solutions to these
problems.

Oh, and before somebody suggests I just write the thing in Java -- I've
considered that, but for various reasons I'm sticking with C/C++.

Thanks in advance,

- Cedric

2. Date-Time Question

3. C/C++ Cross-platform *text-based* API

4. Linux driver for Pent@U DVB card needs (for satellite internet).

5. Cross-platform text-based C++ API for UNIX

6. How to use syslog - Please Help-

7. C/C++ Cross-platform *text-based* API

8. ELF & DWARF File Tools??

9. Cross platform text-based API for UNIX in C++

10. Question about developing cross-platform apps

11. Cross platform GUI API/language selection/performance

12. Help bring Uber (cross-platform game networking API) to the masses!

13. Cross platform application