C/C++ Ref Final: Advanced C Function Pointer Void Memory - Generic Programming compile gnu IDE-less
Added 3 sections: 1, c function pointer 2, c++ intro, and 3, compiler library/example section.
C with user-defined complex data sets and function pointers can be used in an object-orientated way just like modern programming languages do. The syntax for this is a little over complicated involving a lot of pointers to data, functions, other pointers and other pointer to data, function and pointer and more in a multi-dimensional array of entry and exit points. A pointer is a data like an int, but it can be used as a function because a function just like an array is a pointer as well. This last section for c clarifies a lot of these hidden syntax.
C is a language that mainly uses pointers to archive a lot of high level abstraction and low level memory manipulation, so the syntax should very clear to those whom have mastered pointer. With multi-level nested function pointers structure, a whole complex program can be created with just a struct data.
C++ is completely different programming language than C, even thought it shares similar syntax. Since this page is dedicated to C, only the surface differences between them are demonstrated with few examples. More importantly, how to use C++ code in c project is demonstrated. Unfortunately, C++ library can't not be used out of the box in C project, unless it's written for both language intentionally.