User Profile

Collapse

Profile Sidebar

Collapse
neisan
neisan
Last Activity: Feb 25 '08, 06:47 PM
Joined: Feb 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.
    ...
    See more | Go to post

    Leave a comment:


  • 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:
    ...
    See more | Go to post

    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
    ...
    See more | Go to post

  • 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 >
    <name>MyDocumen t</name>
    <type>Text</type>
    </createDocument>
    </command>
    <command>
    <createFile>
    <name>MyFile</name>
    <type>File</ty
    ...
    See more | Go to post
No activity results to display
Show More
Working...