Thread: vtable - where is it?

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    104

    vtable - where is it?

    When a vtable is created, is it linked with the object code to create an executable (*.exe) or is it a separate file that must be included with the executable?

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    51
    if i'm thinking right, you mean virtual table?

    if thats it, u don't need to worry about the vtable at all. The compiler will work it out for you.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    104
    Yes, I'm referrring to the 'virtual table'.
    u don't need to worry about the vtable at all. The compiler will work it out for you.
    Do you mean that the compiler will put the virtual table(s) in the object code or will the virtual table be a separate file?

  4. #4
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    It will be in the executable already.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ambiguity issue
    By George2 in forum C++ Programming
    Replies: 21
    Last Post: 02-11-2008, 12:52 AM
  2. calculate class function vtable offset?
    By X PaYnE X in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2006, 10:46 AM
  3. about dynamic binding
    By sawer in forum C++ Programming
    Replies: 4
    Last Post: 02-24-2006, 02:17 AM
  4. Creating a new object of a subclass problems.
    By Goombaz in forum C++ Programming
    Replies: 6
    Last Post: 01-08-2006, 08:33 AM
  5. virtual functiona and assembly code
    By Micko in forum C++ Programming
    Replies: 2
    Last Post: 02-28-2004, 02:18 PM