Electrum is Python, not C++, but it has an option to generate offline transactions from the command line. maybe you can use it ?
Probably not on the devices I envision running it on, which will be closer to microcontrollers than computers with support for high-level languages. I'm not in any hurry, but I will cheer and jump for joy when such a thing comes to be.
If such a thing existed, someone could produce a cheap "secure wallet gadget" which would completely solve the problem of hacking and theft. Such code could be loaded in moderately cheap off-the-shelf gadgets.
Imagine a bitcoin client where you send bitcoins, and a modified cheapo credit card terminal on your desk says on its display, "You're about to send 20.32 BTC to 1asaskdfljasdflkj...confirm?" and you must press enter before the terminal signs the transaction and the bitcoins can be sent. There are zillions of refurbished Omni 3200's out there right now for under $50. With a built-in printer, your bitcoin private keys can be safely backed up in the form of QR-codes on receipt tape with encryption. You would be safe transacting even with a rooted computer. This would be a SERIOUS answer to criticism about theft and Bitcoin's security.