hi everyone I have a question about vc and runtime libraries Im creating a DLL project does -MD mean the result

Class’. I know I fixed this before but I can’t remember what causes this.

C is in ##C
!give kcbanner undefined vtable

If you get an error saying undefined reference to vtable for Classname it means you didn’t define all virtual functions you declared. Note that even though you make a destructor pure virtual, it will still be called when the derived object is destroyed, so you need to define it. See http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.10

thanks

that’s not right, is it?

what?

undefined vtable merely means that you didn’t declare a single non-pure function
(the first)

no, it means whats said in the factoid

do *all* have to be defined?

undefined vtable merely means that you didn’t declare a single non-pure function

PlasmaHH, I’m still getting it and I have defined all virtual functions. And I have made the destructor virtual.

How do you clear the screen without using system()

I thought just the first, as the compiler stores the vtable in the TU

that must read “define”
not declare, pippijn

define
yes

and the result is implementation defined anyway

ah
non-pure, non-inlined too

no, it means you didnt define all the virtual functions you declared, not including pures if course

How do you clear the screen without using system()?

but which should be obvious

have i said another thing?

!stdcpp screen

Standard C++ has no notion of `screen’, so you must be talking about some specific OS- or library API (or tool), which is beyond the scope of this channel (which focuses on standard C++).

yes, you said that no non-pure function was declared. and you can as well have only pure virtual function with no non-pure

anyone know if there’s an ‘MSVC++’ channel?

Like just erasing the content of cout ._.

!give dgarvey windows

You should ask your Windows programming questions in #winapi, which is linked to EFnet’s #winapi. You may also want to connect to irc.efnet.org #winprog for further assistance. If you can’t connect to irc.efnet.org due to ident problems, try irc.pte.hu instead.

cout has no ‘content’
it’s a stream

std

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.