Mail Archives: djgpp/1998/08/30/01:47:01
Endlisnis wrote:
>
> Iztok Polanic wrote:
> > Hello !!!
> > I've bought myself a book called Beginning C++ ANSI/ISO Compliant by Ivor
> > Horton. But the example doesn't want to compile. I always receive this
> > error:
> > --------------
> > 2.6A.cpp:3: warning: namespaces are mostly broken in this version of g++
> This warning should be VERY self-explaining. Name spaces don't work properly
> in DJGPP yet.
>
It doesn't!
The other night I downloaded the electronic version of Thinking In
C++, in the first example reguarding 'iostream' is the following code
that I typed in and 'compiled' fined "with no" errors!!
#include <iostream>
using namespace std;
int main()
{
cout << "Hell, World! I am " << 8 << " Today!" << endl;
return (0);
}
And this compiled with no errors - so how can you say DJGPP doesn't
handle 'namespace' correctly. My version is 2.8.1
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded
for a 4 bit microprocessor, written by a 2 bit
company that can't stand 1 bit of competition.
email: mortral AT earthlink DOT net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Raw text -