Citat:
DownBload:
div_t tip je vjerojatno deklariran u stdio.h datoteci, pa ti stdlib.h netreba.
onda se dobije:
: In function `main':
`div_t' undeclared (first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.)
parse error before "rez"
`rez' undeclared (first use in this function)
izvod iz stdlib.h:
/* Returned by `div'. */
typedef struct
{
int quot; /* Quotient. */
int rem; /* Remainder. */
} div_t;
Znaci nije to.