Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C++ virtual dispose
#include <iostream> using namespace std; struct parent { virtual void predispose() { cout << "parent"; } ~parent() { predispose(); } }; struct child : parent { void predispose() override { cout << "child"; } }; int main() { auto* a = new child(); delete a; }
run
|
edit
|
history
|
help
0
Perf measurement
773. Sliding Puzzle
Destroy It!
Projekt misker
bmp_lb
congruence modulo equations (together with a simple BigInteger class)
begin_end.cpp
Dar
A string-integer comparison trick
Do While Meteoro Agustin