Giter Site home page Giter Site logo

giangnguyen-bker / object-in-c Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 74 KB

Object implementation in C language

C 100.00%
c c-language c-language-programming c-languages clanguage object object-oriented object-oriented-programming object-oriented-programming-in-c c-code

object-in-c's Introduction

Overview

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,...

  1. Abstraction: provide public attributes and methods such as: username and getPassword(). ✅
  2. Encapsulation: hiding private attributes and methods such as: password, encodePassword(), decodePassword(). ✅
  3. Inheritance: User class inheritanced C_String class (but no "protected" feature yet). ✅
  4. Polymorphism: maybe use function pointers and preprocessor directives [].
  5. Interface: maybe use header declarations and preprocessor directives [].

alt text

Contribute

Feel free to leave comments on my repo. If you find this repo useful, please give me a star.

object-in-c's People

Contributors

giangnguyen-bker avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.