[Qt-interest] [SOLVE] OT: std::cout , output number as char type ?

Aaron Lewis aaron.lewis1989 at gmail.com
Mon Aug 23 11:22:42 CEST 2010


On 08/23/2010 05:20 PM, Bo Thorsen wrote:
> This is completely off-topic. But anyway:
> 
> std::cout << static_cast<char>('a' + 5);

Right , standard solution.

Thanks !

-- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4R0NL3WI5 on freenode



More information about the Qt-interest-old mailing list