+ 16
Is it possible to use function inside struct on C ?
I know that C is not OOP, but I want to use struct like a class.
10 ответов
+ 8
Here is a code I did on OOP in C a while back : https://code.sololearn.com/ctaBYdlTM5rP/?ref=app
Here is the latest version of the code :
https://github.com/Klevh/Object-Oriented-in-C
+ 7
No
+ 3
No
+ 2
No
+ 1
No
+ 1
Use function pointers inside structure to make class-style calls
https://code.sololearn.com/c6Ilj3uHHLn5/?ref=app
+ 1
Not directly
0
It is not possible to overcome this drawback class is introduced in ObjectOriented or ObjectBased programming languages
- 5
Yes