This small file was made to help beginners with OOP in C. I hope it will be helpful. All code included in this file is released to public domain, while this document itself is released under terms of MIT license. This file contains C99 code, so please adjust your compiler to use it. For gcc pass: -std=c99
To create new class, we have to create new two files first. First will be named 'simple.c' and second will be named 'simple.h'.
simple.h: