Assignment of Different Sizes Portability[code]uint32_t variable32 = 32; uint64_t variable64 = 0; variable64 = variable32;[/code] Will...
Default Size of Integral Literal ConstantI meant [code]foo((void*)1)[/code]. The reason behind it is that a callback function in an API I'm u...
Default Size of Integral Literal Constant[code]void foo(void* arg) { } int main(int argc, char** argv) { foo((void*)1); return ...
"Value" of AssignmentThis code compiles without warnings: [code]int i; bool b = (!(i = 42));[/code] The variable [co...
Directly modifying string contentsHis code seems to do pretty much the same thing that mine does (i.e. use the pointer returned by [co...
This user does not accept Private Messages