This repo is object-implementation in C language. Perhaps you will be wondering why not use C++ instead, and why "reinvent the wheel" because the repo's purpose is just simply to learn some advanced skills in C such as struct, function pointer, static function,...
- Abstraction: provide public attributes and methods such as: username and getPassword(). ✅
- Encapsulation: hiding private attributes and methods such as: password, encodePassword(), decodePassword(). ✅
- Inheritance: User class inheritanced C_String class (but no "protected" feature yet). ✅
- Polymorphism: maybe use function pointers and preprocessor directives [].
- Interface: maybe use header declarations and preprocessor directives [].
Feel free to leave comments on my repo. If you find this repo useful, please give me a star.