Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
unresolved external symbol
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> struct Base { virtual ~Base() { } virtual void Foo() { std::cout << "Base::Foo" << std::endl; } }; struct Derrived : Base { virtual void Foo(); // FIXME: must be implemented as follows // virtual void Foo() // { // std::cout << "Derrived::Foo" << std::endl; // } }; int main() { Base *pBase = new Derrived(); pBase->Foo(); delete pBase; }
run
|
edit
|
history
|
help
0
Computing factorial of an integer with recursion and iteration
#9
SO typeindex pretty_name
Fast sine to fill array (sin/cos pair)
Shadow pointer member variable
Error defining lambda inside namespace
infix to postfix v 2.0
base call virtual
du
delete from list