27 Jan
2003
27 Jan
'03
00:30
Bernhard Walle
Bei selbstdefinierten Strukturen verwende ich eh meist sowas
struct mystruct_ { int i; int d; }; typedef struct mystruct_ mystruct;
Sonst vergesse ich das 'struct' nur andauernd. Ob das jetzt schonener Stil ist sei dahingestellt.
Ich mache das davon abhängig, wie oft der struct verwendet wird. Ansonsten kombiniere ich das obige (soweit möglich): typedef struct mystruct_ { int i; int d; } mystruct; ;-)) Philipp -- Philipp Thomas Arbeit: pthomas@suse.de Entwicklung, SuSE Linux AG Privat: pth@t-link.de