Mail Archives: djgpp/2004/09/02/14:41:07
> >> int main(int, const char**)
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^
> > After correcting this illegal and uncompilable line,
You are kidding (a c++ hater perhaps?). I think this is legal c++,
and even valid main() prototype. Correct me if I'm wrong please.
> Which is not compliant to the C99 standard.
>
> I think Egon is using 2.04 (or even CVS version) and Martin 2.03.
You are right about me. It's the "last beta". I tried hard to
assemble a fairly recent but stable djgpp "distro" and I'm very
satisfied now (using gcc 3.3.4). I'm enjoying the mallinfo() (not in
2.03).
About the standard... I'm unfortunately unable to access it. I
purchased just the ISO c++ standard which, obviously, doesn't touch
things belonging to the C library. May be I should use iostreams then
:)), but I *so* dislike them.
Well, thanks for the explanation. Have to work around it. BTW the
API is pretty idiotic IMHO, why not return the count of stored/scanned
items always?
Egon
- Raw text -