News for hackers. Stuff that matters.
Re:Poll: Do you know C? by cicero on Thursday April 07, 2011 @02:47PM (#2420701)
There are structs in C, as well as unions, but they are data only - no methods.
Re:Poll: Do you know C? by swift on Thursday April 07, 2011 @05:02PM (#2421185)
Well, function pointers exist in C, though they are certainly a clumsy replacement for having methods (or first-class functions / closures / currying) built into the language.