advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Partners & Affiliates
advertisement
advertisement
advertisement
Advertisement
advertisement
C++
1 - 20 of 160   Previous   Next
std::array: The Secure, Convenient Option for Fixed-Sized Sequences June 11, 2009
Migrate your fixed-sized sequences to std::array, which offers a secure, efficient, and convenient alternative to built-in arrays—sans the overhead of vector.
The Good Parasite Class Explained May 22, 2009
A good parasite class promotes the use of objects that are never destroyed, a controversial notion in C++. So why use it? What other advantages does it offer? Can you declare additional member functions in such a class? The inventor of the good parasite technique explains.
C++09 Attributes: Specify Your Constructs' Unusual Properties May 14, 2009
Learn how to use attributes, a new C++09 feature, to specify additional information about your programming constructs conveniently and portably.
An Introduction to Variadic Templates in C++0x April 24, 2009
Templates are one of the most powerful features in C++, and variadic templates make them even more powerful. Variadic templates in the C++0x standard library can greatly simplify the writing of type-safe code with variable numbers of arguments.
Using a Good Parasite Class to Design a Self-Clearing Memory Buffer April 16, 2009
Your C++ application doesn't have to allocate a new chunk of memory on every loop iteration. Learn how to implement a single raw memory buffer that knows how to clear itself securely.
Sequence Constructors Add C++09 Initialization Syntax to Your Homemade Classes March 12, 2009
You can initialize C++09 Standard Library containers with a list of initializers, but what about your homemade container classes? Sequence constructors enable you to initialize instances of your homemade classes in a similar fashion.
Use the Factory Pattern to Facilitate Dynamic Typing February 12, 2009
An abstract base class from which concrete classes are derived is a very common idiom in object-oriented code. So common indeed that a special design pattern called Factory was devised to simplify the runtime creation of derived objects elegantly . Learn Factory can boost your code's reliability and performance.
Lambda Functions Are Ready for Prime Time January 16, 2009
Experts predict that 2009 will be the year of the functional programming paradigm. The revised and enhanced C++0x lambda expressions syntax provides you with exactly the right tools for painless functional programming. Learn how lambda expressions can boost your code and eliminate tedious manual coding.
Have It Your Way December 22, 2008
Are you tired of Windows Explorer in Vista changing your folder views? Here's a registry tweak that solves the problem.
Dispose of Proprietary Threading APIs and Adopt the New C++ Threading Facilities December 11, 2008
Prior to C++0x, multithreaded C++ applications relied on platform-specific features that were neither portable nor easy to grasp. C++0x fixes this omission with a new multithreading library. Learn how to use this new library to write portable and clean multithreaded C++ code.
Uniform and Convenient Initialization Syntax November 13, 2008
Not only does C++98 have four different syntactic forms for initializing class objects, aggregates, char arrays and scalar types, it doesn't let you initialize member arrays and dynamically allocated arrays at all. Learn how C++0x fixes these flaws with a uniform and intuitive initialization syntax.
Use Explicit Conversion Functions to Avert Reckless Implicit Conversions October 9, 2008
Conversion functions are inherently unsafe as they might surprise you with implicit conversions over which you have no control. This is why such functions have been avoided for years. Learn how the new C++0x explicit conversion functions put an end to years of conversion functions blues.
Who's the Smartest of 'Em All? Get to Know std::unique_ptr September 11, 2008
C++0x now offers a safer and extremely versatile smart pointer class called std::unique_ptr. Learn how to implement strict ownership semantics with unique_ptr and benefit from its diverse services—customized deleters, safe usage with containers and algorithms, and array handling.
Timeline: C++ in Retrospect September 8, 2008
From its nascent pre-processor in 1979 to today's incredibly sophisticated language features and libraries, we've documented each step along the way.
C++0x: The Dawning of a New Standard August 18, 2008
It's been 10 years since the first ISO C++ standard, and 2009 will bring us the second. In this special report, DevX delves into the new features being discussed by the standards team. Learn how these new features will revolutionize the way you code.
Overview: C++ Gets an Overhaul August 18, 2008
In this overview of the changes proposed for the new standard, you'll get an idea of the kinds of improvements you can expect this time around.
Easier C++: An Introduction to Concepts August 18, 2008
C++0x concepts bring the full power of the Generic Programming paradigm to C++, making templates more expressive, easier to write, and easier to use. Spectacularly poor template error messages are a thing of the past!
Simpler Multithreading in C++0x August 18, 2008
The new standard will support multithreading, with a new thread library. Find out how this will improve porting code, and reduce the number of APIs and syntaxes you use.
The State of the Language: An Interview with Bjarne Stroustrup August 15, 2008
C++ founding father assesses the language on the eve of its new standard.
Probe and Modify Your Types' Alignment Programmatically July 10, 2008
C++03 offers no portable mechanism for querying the alignment of a certain type, let alone overriding the default alignment. This vexing state of affairs is about to change with the addition of two new built-in operators to C++0x.
1 - 20 of 160   Previous   Next
advertisement