Mail Archives: djgpp/2006/11/21/16:00:12
Thanks you, that the correct solution.
Thanks
"Blair Campbell" <blairdude AT gmail DOT com> a écrit dans le message de news:
7705c9030611201911j368be1a6m34e6eb1860708cea AT mail DOT gmail DOT com...
> timeb needs to be prefixed with "struct "
>
> On 11/20/06, Martin Boulte <martin DOT boulte AT free DOT fr> wrote:
> > Good evening, all.
> > I try to use use time_b structure in a program. Although I include
> > <sys/timeb.h> I got compilation mistake.
> > Which include does it miss ?
> >
> > my program header :
> >
> > #include <stdio.h>
> > #include <sys/timeb.h>
> >
> >
> > main(argc,argv)
> >
> > int argc;
> > char *argv[];
> >
> > {
> > int i,ratioRalentissement, calculatedIndex;
> > int duration, testedDuration;
> > timeb beginingDate, endingDate;
> >
> > error message :
> >
> > C:/Workshop/Snake/Chronometre/chronometre.c: In function `main':
> > C:/Workshop/Snake/Chronometre/chronometre.c:13: `timeb' undeclared
(first
> > use in this function)
> >
> > Thanks
> >
> >
> >
>
>
> --
> Fall is my favorite season in Los Angeles, watching the birds change
> color and fall from the trees.
> David Letterman (1947 - )
>
> See ya
- Raw text -