Fun Stuff > CLIKC
C++
Melodic:
I only spent a short time on early builds of C++, when they updated the base every three weeks. I don't remember much, but we could totally start a Dev thread and I'd be all over it like white on rice.
GenericName:
From what I remember, some programs do away with it because they figure most people are going to type that anyways so why not do it automatically?
But that was a year ago and I've forgotten all my C++, or else I'd help you with this.
Melodic:
I think it was VC++ 6 or so that they did away with namespace syntax. I never realized they had added it back in until now.
Catfish_Man:
using is definitely a part of standard C++, as are namespaces.
<edit>
Why are you testing against ios::fail()? ios::eof() seems like it's what you want (although I admit I didn't read your code very carefully
</edit>
Melodic:
I never realized they added it in after it was removed from ~VC6. That's handy.
Also, on a similarly-brief glance I agree with on on eof.
Navigation
[0] Message Index
[*] Previous page
Go to full version