Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Union-Struct-uint32_t byte order
//clang 6.0.0 #include <iostream> union muldiv_t { struct { uint16_t num; uint16_t inv; }; uint32_t u32All; }; int main() { muldiv_t md; md.num = 0xAAAA; md.inv = 0xBBBB; std::cout << std::hex << md.u32All << std::endl; }
run
|
edit
|
history
|
help
0
pack expansion
function pointer
applidiumResto_corrigé
Thread-safe Interval Average Calculator
le regime keto aviss
GreedyProblem1
Alloc
bubble sort
Program to Time Difference
vector destruction - clang