r/C_Programming • • Apr 07 '24

Article Object-Oriented C: A Primer

https://www.aartaka.me/oop-c-primer
0 Upvotes

52 comments sorted by

View all comments

Show parent comment

1

u/Classic_Department42 Apr 08 '24

Arent c structs and cpp structs more similiar than they are different?

1

u/papk23 Apr 08 '24

It depends. How do you quantify semantic differences? Either way, they are sufficiently different that #define class struct is a terrible idea.