delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/12/09:57:01

From: "Matt Firewalker" <arenaproject AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro timers with C++ classes
Lines: 8
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Message-ID: <RWPe4.304$0n1.1957@newsfeed.slurp.net>
Date: Sun, 9 Jan 2000 11:50:41 -0800
NNTP-Posting-Host: 206.170.166.146
X-Trace: newsfeed.slurp.net 947637041 206.170.166.146 (Tue, 11 Jan 2000 18:30:41 CDT)
NNTP-Posting-Date: Tue, 11 Jan 2000 18:30:41 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Do the volatile ints used in Allegro's timing have to be global, or can they
be declared within a class (locked within the constructor)?  Conversely, can
the handler functions be declared within a class as well (locked in
constructor, end in destructor)?  If so, how would I design such a class?

   ~Matt F.


- Raw text -


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