Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Merge overlapping time intervals
barai_1
a simple tuple implementation
Metodos mejorado
Find the Duplicate Number in array of n+1 integers having elements from 1 to n
ADVENTURE CODE CSCI 40
silnia
generate BinTree from sorted list
რიცხვები დაფაზა~ფინალური
pow implementation
Please log in to post a comment.