WIP (Work In progress)…
This is my personal guide for post install OpenSUSE with KDE for developing/hacking, everything as root…
Continue reading OpenSUSE 15.x Post Install Guide Part 1 (Software Installation)WIP (Work In progress)…
This is my personal guide for post install OpenSUSE with KDE for developing/hacking, everything as root…
Continue reading OpenSUSE 15.x Post Install Guide Part 1 (Software Installation)One of the most serious problems using threads is the resource sharing, mutual exclusion locking and race conditions.
Continue reading C/C++ P-thread Code Safety – Avoiding Race Conditions
C is a powerful and complex language that gives the programmer fine-grained control over memory management. However, the original question is:
can we transform the C language into an object-oriented language without modifying the compiler?
And the answer is: YES, we can.
Of course, we will not get the full power of C++. We cannot directly specify
private / public / protected members, inheritance hierarchies, or other advanced features available in C++.
What we can do is create interface-like structures and bind functions to them at runtime.