From: "Matt Firewalker" 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: 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.