Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
not a parameter pack
Full System Specifications version 2
no-thread
лаб1
unordered map broken msvc
복소수 클래스 생성하기
Visual C++ template instantiation
MSVC-IsBaseOf
hangman
Time Zone Registry
Please log in to post a comment.