delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/11/20/17:02: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
Subject: timeb.h compilation PB
Date: Mon, 20 Nov 2006 22:51:07 +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: 30
Message-ID: <45622350$0$3739$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 20 Nov 2006 22:51:12 MET
NNTP-Posting-Host: 81.57.84.181
X-Trace: 1164059472 news-4.free.fr 3739 81.57.84.181:1524
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

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


- Raw text -


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