www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/23/18:11:20

Newsgroups: comp.os.msdos.djgpp
From: fredex AT fcshome DOT stoneham DOT ma DOT us (fred smith)
Subject: Re: CLK_TCK?????
X-Newsreader: TIN [version 1.2 PL2]
Organization: None!
Message-ID: <F90I56.162@fcshome.stoneham.ma.us>
References: <7d5l24$dfh$1 AT monica DOT netti DOT fi>
Date: Mon, 22 Mar 1999 19:58:18 GMT
Lines: 42
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ville Tammi (ville_tammi AT hotmail DOT com) wrote:
: Hi.I am 12 years old boy and a newbie ho wats to know what is wrong whit

Welcome to the wonderful world of C programming! I wish I could get my
son interested in it, I'm glad to see you are!

: this=
: I read a simple code listing of graphics.I'l send it to you.When I use the
: gxx -o ...... then program says "CLK_TCK is redefined" and "time.h line
: 54.there is the redefined"or something like that .In the magazine where I
: took it says that it is tested whit DJGPP but the magazine is from year
: 95.My email is ville_tammi AT hotmail DOT com

If it's from 1995, then it is probably from DJGPP version 1.x, which was
(so i'm told, I never personally used it) a very different animal from
the 2.x versions.

What I'd try is to look thru the code and see if it defines a CLK_TCK on
its own, and if so just comment out the definition. Keep doing that
until you either get it to work or become horribly confused. :^(

If this program tries to access the video hardware to do graphics it may
not be portable to current DJGPP versions, so it may take quite a lot of
hacking to make it work. If that is the case, and if you don't feel like
doing that much work on it, I think the 1.x versions of DJGPP can still
be found on simtel.net or delorie.com.

By the way, it is considered bad form (impolite) to post encoded files
in a newsgroup like this. Since it isn't very big, most of us would
appreciate seeing it as plain text. Many people don't want to see it
badly enough to bother to decode it, so you'll get a lot more help by
posting it as clear text.

Good luck!

Fred
--
---- Fred Smith -- fredex AT fcshome DOT stoneham DOT ma DOT us -----------------------------
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
              it judges the thoughts and attitudes of the heart."  
---------------------------- Hebrews 4:12 (niv) ------------------------------

- Raw text -


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