Re: [Dev-C++] functionpointers within a class
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-09-05 09:34:01
|
Don't you have to create a virtual table? >From: Stein Nygård <st...@nu...> >To: "DevCpp" <dev...@li...> >Subject: [Dev-C++] functionpointers within a class >Date: Wed, 4 Sep 2002 18:07:26 +0200 > >Hi! > >I'm having some trouble, with my pointers... >I would like to make a class, and it should contain several functions and a >pointer which will point at any of these functions. All functions would be >of type void ;) The functions must be able to set the value of the pointer, >to any of the other functions... making sense? Sure hope so! > >any help? Thanks! > > Stein Nygård - http://steinware.dk >lapido, ergo sum _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |