u/Rockytritonin r/C_Programming • Recommends
Simple Object Oriented Programming (OOP) in C
11K subscribers • 8 videos on Hallway
- Recommended by 2 people: 2 in engineering communities.
- Linked in the descriptionrockytriton/LLD
Intermediate. Assumes working knowledge.
10K views5 years ago2 recommendations
Programming languagesSoftware designCDesign patternsSoftware architecture
How to implement object-oriented programming patterns in C using structs and function pointers.
This video will cover a simple example of doing object oriented programming with C. The purpose of this video is that we will be using designs like this in some of the low level projects and I want you to be familiar with the concepts rather than me explaining each time it comes up. This video will also help you with linux kernel development as this type of pattern is often used in the linux kernel code base. Discord: discord.gg/fyFYABCVMX Github: github.com/rockytriton/LLD Reddit: reddit.com/r/LowLevelDevel Donate (Paypal/Venmo): rockytriton75@gmail.com Code: github.com/rockytriton/LLD/tree/main/ooc Subreddit: reddit.com/r/LowLevelDevelWhy it's here
2 people recommend thisWhat people say. Recommended as a clear guide on implementing OOP patterns in C, similar to how it is done in the Linux kernel.
u/Chronomuim_RSAin r/C_Programming • Recommends
u/Lurchi1in r/C_Programming • Mentions
On “How to structure C code? It appears to reward shallow functions and doing everything in the global scope, whereas other languages let you go as deep as you want at no cost.”
u/Rockytritonin r/C_Programming • Mentions
On “How to properly port C++ classes to C?”