Quantcast
Channel: candrews.net » C++
Browsing latest articles
Browse All 5 View Live

A new series: Understanding C++ 0x!

For those of you who are C++ lovers out there, you probably know that a new standard has been in the works for quite a while (some would argue since the dawn of time) that implements some pretty neat...

View Article


Understanding C++ 0x: Function pointers

What is a function pointer, anyway? Well, imagine that you’re just a wee lad(dy) in your grassy backyard playing a game with your brother Al, your sister Beatrice (the name’s a family tradition – she...

View Article


Understanding C++ 0x: Lambda functions

I’ll make a bet with you. I’m going to guess that, quite frequently, when coding in C++, you have the following thought: “I really need a function that does X, and the function is really only a couple...

View Article

Understanding C++ 0x: The ‘auto’ keyword

There are few phrases that cause stoic C++ programmers to weep like “iterator loop”. Your run-of-the-mill iterator loop looks like this: for(std::vector<std::wstring>::iterator it =...

View Article

Understanding C++ 0x: Type safe enumerations

The problem: It takes only a quick switch to a language like PHP to recognize how handy enumerations (‘enums’) are in C++. Enumerations are especially useful for mapping from hard-to-express real-world...

View Article

Browsing latest articles
Browse All 5 View Live