Mail Archives: djgpp/2000/03/17/11:35:15
RoadRaat wrote:
>
> Hi,
>
> I'm a C++ student. In class we develop our C++ projects on MS Visual C++. I
> use DJGPP on my notebook at home. I'm baffled by some of the differences.
> I've been reading the documentation, but I can't find everything I'm looking
> for. Would a kind person please clear up some of these questions?
Sure.
> 1. Does DJGPP lack the Standard Header Files that are current for? (Must I use
> <iostream.h> instead of <iostream> and <iomanip.h> instead of <iomanip>?)
You can use
#include <iostream>
, although not _all_ standard C++ headers are present at the current
time.
> 2. If #1 is Yes, does that mean I can't be referring to namespaces (like 'using
> namespace std;')?
"using namespace std;" works.
> I'm having trouble figuring out libraries and headers. If I can make sense out
> of this, then I can make versions of my exercises for home and for school.
As long as you use standard C++, you should have minimal trouble doing
that. If you use GNU entensions or Microsoft extensions, then you have
to mark them with #ifdef's.
> Thanks for anybody's help.
More help on C++ can be gotten by reading the C++ FAQ, the GCC FAQ and
the DJGPP FAQ.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -