Re: C++ features in LINUX?
On Jul 12, 5:28 am, anchitg...@gmail.com wrote:
I have developed a project on C++, but under windows. But we
have got to run it in an open source (LINUX). Can anyone tell
me what features of C++ are not supported in Linux ? Like i
have heard Linux doesn't support esception handling and
destructors. Similarly what about strings and other C++
features (say class, inheritance etc.) ?
Linux (like Windows) doesn't support any "language", per se
(although it has a net preference for C). C++, like just about
every other language I know, is defined independently of the OS.
Whether a particular C++ feature is supported depends on the
compiler, not the OS, and off hand, the latest versions of VC++
and g++ seem more or less equal here, with probably a slight
edge for g++.
The real problem today in porting applications is that there are
very few applications written to use just the language. C++
makes it very easy to call a C API, and both Linux and Windows
use a C API, which means that in both languages, it is very easy
to use native OS features. And the language doesn't support a
number of very useful functionalities, like threads, windowing,
sockets, etc.; which means that programs using these do have
some system dependencies at places.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34