SyntaxFix
Write A Post
Hire A Developer
Questions
There some kind of old school 'Marxismic' way to the cast int -> bool without C4800 warnings of Microsoft's cl compiler - is to use negation of negation.
int i = 0; bool bi = !!i; int j = 1; bool bj = !!j;