[elektro] C programozás kérdés
hg12345
hg12345 at freemail.hu
Sun Feb 6 12:25:03 CET 2011
Hi!
Most találtam egy typedef definiciót a stdlib könyvtárban
typedef struct div_t { int quot, rem; } div_t;
/* type of the value returned by the div function. */
typedef struct ldiv_t { long int quot, rem; } ldiv_t;
/* type of the value returned by the ldiv function. */
Mivel használom és lefordul eszerint ez a C változat emészti ezt a variációt.
Ez lehetséges, hogy a struktura hivatkozási név azonos legyen a typedef névvel? Ilyennel eddig még nem találkoztam...
More information about the Elektro
mailing list