C as an object oriented language

前端 未结 5 2097
闹比i
闹比i 2020-12-29 12:37

Could you suggest a syntax for the C language to use it in a similar way than an object-oriented language? I know that they cannot be the same and that some keywords aren\'t

5条回答
  •  时光说笑
    2020-12-29 13:07

    There is the GObject library:

    The GLib Object System, or GObject, is a free software library (covered by the LGPL) that provides a portable object system and transparent cross-language interoperability. GObject is designed for use both directly in C programs and through bindings to other languages.

提交回复
热议问题