O'Reilly logo

C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Second Edition by Brian Overland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Pointers: Getting a Handle on Data

In interviewing technical writers for Microsoft, I would see on candidates’ resumes advanced C and C++ programming listed as accomplished skills. So, I would ask candidates to explain the concept of a pointer to me in their own words. I was interested only in how articulate they could be on a technical subject.

Too often, they’d look at me dumbfounded. They had forgotten an important rule of resume padding: If you claim to know C++, you’re supposed to know what a pointer is...or at least make up a good bluff answer.

In this chapter, I’ll explain what pointers are and—more importantly—why you should care.

What the Heck Is a Pointer, Anyway?

First, you need to know what an address is. The CPU doesn’t understand ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required