I am facing a problem in C++......not facing the same problem when I use C.
In my project there is a class VoiceChannel....there is a variable
In a class EventHandler, an object of VoiceChannel,say, VC has been created and by calling some built-in functions VC->ani has been set some value.
Now,what I want is to use that value(VC->ani) from a method of InboundChannel Class which is a subclass of VoiceChannel.
If I use C then it is possible to store that value in a stucture
and use it as needed.But what can I do in the context of C++?
Thanks in advance
0 · ·