| c++ Programming Glossary: todayWhat's “wrong” with C++ wchar_t and wstrings? What are some alternatives to wide characters? http://stackoverflow.com/questions/11107608/whats-wrong-with-c-wchar-t-and-wstrings-what-are-some-alternatives-to-wide  the use of simple text algorithms. What use is wchar_t today Not much for portable code anyway. If __STDC_ISO_10646__ is.. 
 C++ Accesses an Array out of bounds gives no error, why? http://stackoverflow.com/questions/1239938/c-accesses-an-array-out-of-bounds-gives-no-error-why  happens if you go out of bounds. It might seem to work today on your compiler but it is not legal C or C and there is no.. 
 Benefits of inline functions in C++? http://stackoverflow.com/questions/145838/benefits-of-inline-functions-in-c  for the code that the compiler outputs but with today's optimized compilers fast CPUs huge memory etc. not like in.. fit in 100KB of memory what advantages do they really have today  c inline   share improve this question   Inline functions are.. 
 What is “cache-friendly” code? http://stackoverflow.com/questions/16699247/what-is-cache-friendly-code  . This is the core reason for the advanced caching we see today. Caching is one of the main methods to reduce the impact of.. 
 Variable length arrays in C++? http://stackoverflow.com/questions/1887097/variable-length-arrays-in-c  very much in the last few years. When I read this question today I came across some C syntax which I wasn't familiar with. Apparently.. 
 Purpose of Unions in C and C++ http://stackoverflow.com/questions/2310483/purpose-of-unions-in-c-and-c  Unions in C and C  I have used unions earlier comfortably today I was alarmed when I read this post and came to know that this.. 
 Is TCHAR still relevant? http://stackoverflow.com/questions/234365/is-tchar-still-relevant  still use the TCHAR syntax if I was doing a new project today. There's not much practical difference between using it and.. 
 Easy framework for OpenGL Shaders in C/C++ http://stackoverflow.com/questions/2795044/easy-framework-for-opengl-shaders-in-c-c  doesn't really fit very well with what most people want today e.g. though you can use it for animations it's really intended.. 
 What are some of the “best” cross-platform C++ UI toolkits today? http://stackoverflow.com/questions/366043/what-are-some-of-the-best-cross-platform-c-ui-toolkits-today  some of the &ldquo best&rdquo cross platform C UI toolkits today  I am writing a high performance system in portable modern c.. 
 What is The Rule of Three? http://stackoverflow.com/questions/4172722/what-is-the-rule-of-three  this resource via delete ~person  delete name  Even today people still write classes in this style and get into trouble.. 
 System where 1 byte != 8 bit? http://stackoverflow.com/questions/5516044/system-where-1-byte-8-bit  bits and bytes et cetera. What real life systems are there today where this holds true I'm not sure if there are differences.. 
 std::vector, default construction, C++11 and breaking changes http://stackoverflow.com/questions/5759232/stdvector-default-construction-c11-and-breaking-changes  default construction C 11 and breaking changes  I ran today against a quite subtle issue I'd like to have your opinion on... 
 Should I learn C before learning C++? [closed] http://stackoverflow.com/questions/598552/should-i-learn-c-before-learning-c  C closed  I visited a university CS department open day today and in the labs tour we sat down to play with a couple of final.. 
 C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming? http://stackoverflow.com/questions/6319146/c11-introduced-a-standardized-memory-model-what-does-it-mean-and-how-is-it-g  on any system with a compliant C compiler whether today or 50 years from now. The abstract machine in the C 98 C 03.. certain your code will compile and run unchanged on both today's systems and tomorrow's. Although to be frank unless you are.. 
 Why do I need to use typedef typename in g++ but not VS? http://stackoverflow.com/questions/642229/why-do-i-need-to-use-typedef-typename-in-g-but-not-vs  since GCC caught me with this one but it just happened today. But I've never understood why GCC requires typedef typename.. 
 Exotic architectures the standards committees care about http://stackoverflow.com/questions/6971886/exotic-architectures-the-standards-committees-care-about  However I don't know of any architectures used today where CHAR_BIT 8 signed is not two's complement I heard Java.. 
 C/C++: Array size at run time w/o dynamic allocation is allowed? http://stackoverflow.com/questions/737240/c-c-array-size-at-run-time-w-o-dynamic-allocation-is-allowed  is allowed  I've been using C for a few years and today I don't know if this is a mere brainfart or what but how can.. 
 Using local classes with STL algorithms http://stackoverflow.com/questions/742607/using-local-classes-with-stl-algorithms  sooner if the standard was evolving faster... That said today all last versions of common compilers does allow it along with.. 
 while (1) Vs. for (;;) Is there a speed difference? http://stackoverflow.com/questions/885908/while-1-vs-for-is-there-a-speed-difference  a speed difference  Long version... A co worker asserted today after seeing my use of while 1 in a Perl script that for is.. don't realize that their code has inefficiencies. He said today though gcc compilers are very good and put people like him out.. 
 Why is this a floating point exception? http://stackoverflow.com/questions/1081250/why-is-this-a-floating-point-exception  is this a floating point exception  Today I was tracking down a floating point exception in some code.. 
 Compiling a MFC app from Visual Studio 2010 to 2012 RC results in LNK2038 http://stackoverflow.com/questions/11808260/compiling-a-mfc-app-from-visual-studio-2010-to-2012-rc-results-in-lnk2038  and running OK in debug and release modes in VS 2010. Today I tried to compile it with VS 2012 and I got this error 1 Generating.. 
 c++ syntax: default and delete modifiers http://stackoverflow.com/questions/16770492/c-syntax-default-and-delete-modifiers  syntax default and delete modifiers  Today I stumbled over a code snippet like this one class A A default.. 
 Is there a way to test whether a C++ class has a default constructor (other than compiler-provided type traits)? http://stackoverflow.com/questions/2733377/is-there-a-way-to-test-whether-a-c-class-has-a-default-constructor-other-than  I haven't re analyzed it. I'm pretty new to SFINAE. Today it occurred to me to put a test expression inside a sizeof inside.. 
 Scripting language for C++ http://stackoverflow.com/questions/3150442/scripting-language-for-c  languages provided they're popping like mushrooms lately Today I thought that it would be nice to have a scripting language.. 
 Call-stack for exceptions in C++ http://stackoverflow.com/questions/3222890/call-stack-for-exceptions-in-c  stack for exceptions in C  Today in my C multi platform code I have a try catch around every.. 
 std::vector is so much slower than plain arrays? http://stackoverflow.com/questions/3664272/stdvector-is-so-much-slower-than-plain-arrays  that std vector is implemented as an array blah blah blah. Today I went down and tested it seems to be not so Here's some test.. 
 Boost Thread tutorials [closed] http://stackoverflow.com/questions/415994/boost-thread-tutorials  I can find on the web can be considered obsolete. Today Boost's version is 1.37 and the only links I found on the web.. 
 Is it safe to push_back 'dynamically allocated object' to vector? http://stackoverflow.com/questions/4185350/is-it-safe-to-push-back-dynamically-allocated-object-to-vector  It just worked and many others seem to do the same thing. Today I learned vector push_back can throw an exception. That means.. 
 Defining a function with different signature http://stackoverflow.com/questions/4212932/defining-a-function-with-different-signature  a function with different signature  Today I discovered that it is possible to declare a function in a.. 
 What is the use of “delete this”? http://stackoverflow.com/questions/447379/what-is-the-use-of-delete-this  is the use of &ldquo delete this&rdquo  Today I have seen some legacy code. In the destructor there is a statement.. 
 Is the size of a struct required to be an exact multiple of the alignment of that struct? http://stackoverflow.com/questions/4637774/is-the-size-of-a-struct-required-to-be-an-exact-multiple-of-the-alignment-of-tha  distance in bytes between two adjacent items in an array. Today I spotted some old code that was using sizeof where it shouldn't.. 
 Are there optimized c++ compilers for template use? http://stackoverflow.com/questions/582302/are-there-optimized-c-compilers-for-template-use  speed up with having variadic templates rvalue references. Today if we want to write template code that does something at compile.. 
 Array with size 0 http://stackoverflow.com/questions/6180012/array-with-size-0  with size 0  Today I incidentally defined a two dimensional array with the size.. 
 Dual emission of constructor symbols http://stackoverflow.com/questions/6921295/dual-emission-of-constructor-symbols  emission of constructor symbols  Today I discovered a rather interesting thing about either g or nm.. 
 C++ - Why static member function can't be created with 'const' qualifier http://stackoverflow.com/questions/7035356/c-why-static-member-function-cant-be-created-with-const-qualifier  member function can't be created with 'const' qualifier  Today I got a problem. I am in the need of a static member function.. 
 What is a good Linux IDE for code completion? http://stackoverflow.com/questions/780837/what-is-a-good-linux-ide-for-code-completion  it differs from Visual Studio's code completion. Bounty Today is 21 May 09 I've just added a bounty as I'm still not convinced.. 
 Why GCC allows calling this function without using its namespace first? [duplicate] http://stackoverflow.com/questions/7965262/why-gcc-allows-calling-this-function-without-using-its-namespace-first  parameter scope affect function lookup within a namespace Today I experienced this weird behavior. I can call strangeFn without.. 
 Why is operator% referred to as the “modulus” operator instead of the “remainder” operator? http://stackoverflow.com/questions/9284644/why-is-operator-referred-to-as-the-modulus-operator-instead-of-the-remainder  operator instead of the &ldquo remainder&rdquo operator  Today at work I had an interesting discussion with one of my coworkers... 
 Why is splitting a string slower in C++ than Python? http://stackoverflow.com/questions/9378500/why-is-splitting-a-string-slower-in-c-than-python  from stdin was much faster in Python than C see this . Today I finally figured out how to split a string in C with merging.. 
 |