Hi,
Thank you for your help. After putting all the code in one file and compiling it I realized that the problem I’m having is not because of the downcast. The problem is that I’m not being able to correct return the character and string values in the code. I’m sorry if I made you spend your time but I really appreciate the advices and information you provided. I’m trying now to solve the string manipulation problem.
...
User Profile
Collapse
-
Sorry,
My mistake, I have:
...Code:class SpecialClient:Client { public: /// Constructor SpecialClient (void); /// Destructor virtual ~SpecialClient (void); /// Register the client virtual void show_info (char* name) ; /// Get the details. void set_details (const* char details); private:Leave a comment:
-
Trying to downcast a class stored in vector from a function
Hi,
I created a vector like that" typedef std::vector<Cli ent*> Clients" and declared a vector "Clients clients". I specialized the Client class to SpecialClient, so I have:
...Code:class Client { public: /// Constructor Client (void); /// Destructor virtual ~Client (void); /// Register the client virtual void -
Trying to get the XML content without spaces with SAX2
Hi there,
I'm trying for a while to obtain the XML content of a file without spaces.
I have a XML file with the following content:
<script><command><createDocument ></command><name>MyDocumen t</name></createDocument>
<type>Text</type><command>...<createFile><name>MyFile</name>
<type>File</ty
No activity results to display
Show More
Leave a comment: