Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Size of data type test
//g++ 5.4.0 #include <iostream> #include <array> #include <limits> typedef uint8_t uint8; typedef uint16_t uint16; struct InterprocessConfigurationData { InterprocessConfigurationData() = default; //uint16 m_network_ports_allocated[UCHAR_MAX]; std::array<uint16, std::numeric_limits<uint8>::max()> m_network_ports_allocated; }; int main() { std::cout << "Size of data: " << sizeof(InterprocessConfigurationData); }
run
|
edit
|
history
|
help
0
Const Return Test
pangram
Minimum Vertices to Traverse Directed Graph
CPP - Arrays - Ex.2
C++
top5words
Próba
QUnabridged
PATRA_Class_test
SOS DP