Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Zero length array as a class member
#include <iostream> struct Foo { int zeroLengthArray[]; }; int main() { Foo foo; std::cout << "Address offset of zeroLengthArray: " << (char*)&foo.zeroLengthArray - (char*)&foo << std::endl; }
run
|
edit
|
history
|
help
0
infix to postfix v 3.0
Regex success
Zero
CommandQueue
ADL of operator expression & unqualified function call
base call virtual
Memory example
binary
Build char string (multibyte) with wchar
Template float/int comparison