Re: sizeof bit-fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian,

>well, at least you have function pointers, right?

Function pointers are a great deal different from object methods.

Especially since if you put function pointers in the structure, it will make the structure more than 5 bytes big (which is one of the criteria).

And I don't think C allows static function pointers that are part of (or associated with) a struct.

Note -- a person can do object-oriented programming with C.  Case in point, the POV ray-tracer.  But the language (at least, C89) doesn't facilitate object-oriented programming.

But, as I've said, I haven't programmed in C since 1989, and C99 may have incorporated some new-and-interesting programming techniques/paradigms.

Sincerely,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux