Unions – ew. As primarily a C++ programmer, I used to shy away from code that contained this kind of black magic. However, unions are actually very cool things and are really not that scary or weird. A union is basically a variable. But instead of being an int, or a float, or a double, […]
In a NutshellI write handy little guides to GDB, C and C++, and occasionally some Linux stuff for fun.