Sadly, no. My confidence is no where near high enough to let me sell what I make (of course I'm mostly doing beginner things so I can't see someone paying for them).
Every time I finish a project (or a part of it), I reward myself by stealing some money from strangers. Does that count as "making money off your programs"?
Your question seems to be directed at the self-employed programmers or those who work both R&D and sales.
In my experience, most people making money with C++ are working at mid to large size companies. Nobody would buy a financial trading platform, a city infrastructure system, a cell phone tower, car computer, oil rig, satellite or hospital emergency room software from a single-person company. Even if it wasn't many man-years of work to create, think about liability.
That said, I did help write a bunch of proposals, so I suppose I helped my company sell some of the software I wrote while working in transportation.