function overriding

This is a discussion on function overriding within the C++ Programming forums, part of the General Programming Boards category; can any body please explain me the concept of function overriding in C++????...

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Unhappy function overriding

    can any body please explain me the concept of function overriding in C++????

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,177
    If a class inherits a function from a base class, and then defines a function with the same name, argument types, and return value, that class is said to be overriding the inherited function.
    Right 98% of the time, and don't care about the other 3%.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. Troubleshooting Input Function
    By SiliconHobo in forum C Programming
    Replies: 14
    Last Post: 12-05-2007, 06:18 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21