Skip to content
/ C_OO Public

implement object-oriented by c program language

Notifications You must be signed in to change notification settings

bjut-hz/C_OO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

implement Object-Oriented by Clang

encapsulation

We can use header file to implement encapsulation mechanism, the client program can use declaration in the header file only and have absolutely no knowledge of the implementation.

inheritance

We can use type cast to convert one pointer of user defiend struct to another, so that we can access the member of the another user defined struct.

polymorphism

We can use function pointer variable to perform different behavior.

About

implement object-oriented by c program language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published