delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: dj callbacks |
Date: | 29 May 2000 12:43:05 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 16 |
Message-ID: | <8gtokp$e2q$1@nets3.rz.RWTH-Aachen.DE> |
References: | <ulmY4.563$x8 DOT 4314 AT nsw DOT nnrp DOT telstra DOT net> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 959604185 14426 137.226.32.75 (29 May 2000 12:43:05 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 29 May 2000 12:43:05 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Paul Cechner <paul AT ibc DOT com DOT au DOT nospam> wrote: > can you set up your own custom callbacks in dj?? and how??? > ie, can you (for instance) create a myObj::user_callback_handler() method > which you initialise to be called when a certain trigger is thrown elsewhere > (ie, myBouncingObject::triggerThrower())? sort of reaction based > programming.... This is not a DJGPP-specific question, but a purely C++-centric one. You should ask it in a C++ newsgroup, not here. As a rough idea: you want to construct myBouncingObject with an element of type 'pointer to myObj' in it. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |