für ein Prog. will ich operatoren überladen.
das mache ich mit:
typedef struct {
...
} *irgendein_Typ;
/* Prototyp */
irgendein_Typ operator +(irgendein_Typ, irgendein_Typ);
Beim Compilieren bekomme ich aber eine "Syntax Deklaration Error"-Meldung.
Wo liegt der Fehler ?? (Ich arbeite mit BTC++ 1.0)
VDiV
Chris Chaos
CS> Wo liegt der Fehler??
In C kann man keine Operatoren überladen.
Bye Byte,
Carsten
----------
Please send mails >60KByte/day to ctu...@earthling.net
Und in C++ fehlen zwei :.
Hope it helps,
- Marcus [PGP]