Header files is that thing for me. I hate that I need to create and maintain two files for every non-trivial class.
This is a discussion on What do you like least about C++? within the C++ Programming forums, part of the General Programming Boards category; Header files is that thing for me. I hate that I need to create and maintain two files for every ...
Header files is that thing for me. I hate that I need to create and maintain two files for every non-trivial class.
Last edited by medievalelks; 06-10-2008 at 06:38 AM.
Implicit conversions. They are so evil that they're nearly useless when you want to overload operators such as operator T or operator bool.
The fact that you can't make them explicit annoys me.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
This isn't going to be another one of those poll threads like in GD, is it?
QuantumPete
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
But I thought you like adding conversion operators to your classes? Did you change your mind?
As for me, I'm not too fond of the whole C side of C++ and the inconsistencies.
It would also be nice if all types had a standard size instead of leaving so much of the language as implementation defined.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Really? Wow. Color me lucky...They never work as expected, so this is a major failing in the language.
Ditto.As for me, I'm not too fond of the whole C side of C++ and the inconsistencies.
Soma
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
I dont like Herbie's teachings -- but I never read his books anyway.
I'm just trying to be a better person - My Name Is Earl
You do mean Schildt I hope?! O_oI dont like Herbie's teachings -- but I never read his books anyway.
Soma
swgh must be referring to Herb SutterYou do mean Schildt I hope?! O_o![]()
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
requiring goto to break/continue in nested loops
No default types for template arguments, mandatory specialisation of all arguments following a one which has been specialised. This latter point implies a profound reflection about the order of the template arguments, even before coding!, and which makes code much less maintainable....
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"