Built-in Data Types Test Program Output: Struct Note that there are paddings if a bigger data type is right before one with smaller size. Test […]
Install CUDA on Ubuntu 20.04 Desktop
Install using runfile Add to Global Environment Variables Make your /etc/environment file look like the following and then restart the OS. This is only necessary […]
C++11 decltype
decltype is used to get the type of a expression Considering the following function For the following 2 invocations The results will be different, To […]
Debug C++ Programs with GDB – Single-Threaded & Multi-Threaded
There is also an example program on my GitHub, the text version of the tutorial is also available at: https://github.com/Bill0412/solve-traffic-deadlock References
How to setup FLTK environment in CLion on Mac OS
FLTK: Fast Light Toolkit FLTK Version: 1.3.5 In terminal In CLion, take C++ 14 program as example, as in my project renju, the CMakeLists.txt file […]
The C Preprocessor
When I was learning the C Programming Language, every time encountering the Preprocessor, though I knew that the Preprocessor can be really powerful, I told […]