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
msvc compile optimization demo...
make Derive final
Not an overflow
constmsvc
Cross-platform multithreading minimal example (g++ and cl.exe)
sinem çalışma
problem_soultion2
Data structure alignment
Printf %px test
Program_1_rstring