ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/11/21/16:00:12

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Martin Boulte" <martin DOT boulte AT free DOT fr>
Newsgroups: comp.os.msdos.djgpp
References: <45622350$0$3739$426a34cc AT news DOT free DOT fr> <7705c9030611201911j368be1a6m34e6eb1860708cea AT mail DOT gmail DOT com>
Subject: Re: timeb.h compilation PB
Date: Tue, 21 Nov 2006 21:55:51 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 51
Message-ID: <456367dc$0$29396$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 21 Nov 2006 21:55:57 MET
NNTP-Posting-Host: 81.57.84.181
X-Trace: 1164142557 news-1.free.fr 29396 81.57.84.181:3340
X-Complaints-To: abuse AT proxad DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019