Operator overloading in C? -


is possible operator overloading or similar (inline function?) in c? know c not support class, make operator struct?

i cannot find online, because google ignore '+' if try google c++ results.

no, can't in c. use c++ if want overload operators.

you can put function pointers inside structure if want sort of c++ object-like behaviour.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -