how call Derived class function in base class

Discussion in 'C Programming' started by prabhakar732, Dec 19, 2008.

  1. prabhakar732

    prabhakar732

    Joined:
    Dec 17, 2008
    Messages:
    3
    Class A
    {
    func()
    {

    func1() ; // i want call derived class Function in base class how can u do it.
    }

    };
    Class B: Public A
    {

    func1()
    {
    }
    }
    prabhakar732, Dec 19, 2008
    #1
    1. Advertising

  2. prabhakar732

    prabhakar732

    Joined:
    Dec 17, 2008
    Messages:
    3
    plz Give ans any body knows its very urgent
    prabhakar732, Dec 19, 2008
    #2
    1. Advertising

  3. prabhakar732

    prabhakar732

    Joined:
    Dec 17, 2008
    Messages:
    3
    Class A
    {
    func()
    {

    func1() ; // i want call derived class Function in base class how can u do it.
    }

    };
    Class B: Public A
    {

    func1()
    {
    }
    }
    prabhakar732, Dec 22, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. developereo@hotmail.com
    Replies:
    1
    Views:
    383
    myork
    May 23, 2007
  2. developereo@hotmail.com
    Replies:
    1
    Views:
    371
    Victor Bazarov
    May 23, 2007
  3. Javier
    Replies:
    4
    Views:
    452
    James Kanze
    Jun 8, 2007
  4. George2
    Replies:
    0
    Views:
    338
    George2
    Mar 17, 2008
  5. Lionel B
    Replies:
    8
    Views:
    326
    James Kanze
    Feb 5, 2009
Loading...

Share This Page