¡@

Home 

c++ Programming Glossary: flaws

Best Practice For List of Polymorphic Objects in C++

http://stackoverflow.com/questions/1080448/best-practice-for-list-of-polymorphic-objects-in-c

above is my solution but this likely has some serious flaws and I would be happy to hear about them and the other solutions..

Why are preprocessor macros evil and what are the alternatives?

http://stackoverflow.com/questions/14041453/why-are-preprocessor-macros-evil-and-what-are-the-alternatives

compiler specific and most of the time they have serious flaws like #pragma once that is error prone in at least 2 important..

C++ class, its base class and circular include includes

http://stackoverflow.com/questions/1655096/c-class-its-base-class-and-circular-include-includes

O.o EDIT4 Now it should be clear and without anymore flaws the problem persisits with this code. c include circular ..

I need high performance. Will there be a difference if I use C or C++?

http://stackoverflow.com/questions/1750937/i-need-high-performance-will-there-be-a-difference-if-i-use-c-or-c

improve this question No. The biggest performance gains flaws will be on the algorithm you implement and how much unneeded..

Using “super” in C++

http://stackoverflow.com/questions/180601/using-super-in-c

was implementable technically sound and free of major flaws and handled multiple inheritance. On the other hand there wasn't..

static variables in an inlined function

http://stackoverflow.com/questions/185624/static-variables-in-an-inlined-function

of static i.e. it can be defined in a header without its flaws it exists at most once if it is not inlined static inline Mixing..

Pros and cons of using nested C++ classes and enumerations?

http://stackoverflow.com/questions/216748/pros-and-cons-of-using-nested-c-classes-and-enumerations

to classes nested inside classes that I usually consider flaws if not pure antipatterns . Let's imagine the following code.. I see no point in nested classes in normal code as the flaws outweights by magnitudes the perceived advantages. Furthermore..

Sleep Function Error In C

http://stackoverflow.com/questions/2927448/sleep-function-error-in-c

above describe what you are doing your design has several flaws sleep is very imprecise it will wait at least n seconds but..

unique_ptr boost equivalent?

http://stackoverflow.com/questions/2953530/unique-ptr-boost-equivalent

are a few possible alternatives although each have their flaws. boost shared_ptr is probably the simplest replacement in terms..

How to create a linux user using C/C++?

http://stackoverflow.com/questions/3454089/how-to-create-a-linux-user-using-c-c

Is there any examples What are the possible security flaws I know C C and running Ubuntu Lucid. Edit The user will only..

Why is a c++ reference considered safer than a pointer?

http://stackoverflow.com/questions/4715740/why-is-a-c-reference-considered-safer-than-a-pointer

that they're any safer than pointers they have the same flaws and potential to become invalid. e.g. #include vector int main..

Integer division algorithm

http://stackoverflow.com/questions/5097383/integer-division-algorithm

try to implement test and discuss if nobody sees any fatal flaws in it. If it's something not widely discussed so far even better...

Callback's flaws

http://stackoverflow.com/questions/5829483/callbacks-flaws

flaws From http doc.qt.nokia.com 4.7 signalsandslots.html Callbacks.. 4.7 signalsandslots.html Callbacks have two fundamental flaws Firstly they are not type safe. We can never be certain that..

Is it valid to directly call a (virtual) destructor?

http://stackoverflow.com/questions/6036086/is-it-valid-to-directly-call-a-virtual-destructor

. Is it actually valid to do so What are the problems flaws or even the good points of such an approach I can only think..