[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
Hej.
Jeg har ngole klasser defineret som foelger
-------------------------------------------- class CSource { public: CSource(CConfig* pConfig); virtual ~CSource(); virtual bool Init(); }; class CAudioSource : public CSource { public: CAudioSource(CConfig* pConfig); ~CAudioSource(); bool Init(); }; class CSinusAudioSource : public CAudioSource { public: CSinusAudioSource(CConfig* pConfig, char* srcID); ~CSinusAudioSource(); bool Init(); }; ----------------------------------------------
Desuden har jeg
Ideen er jeg har noget kodet som
CAudioSource *as = NULL; .... as = new CSinusAudioSource(); as->Init();
Hvordan goer man ?
mvh.
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |