Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
new delete malloc free
//g++ 5.4.0 #include <iostream> using namespace std; class A{ int x, y; public: static int total; A(){ total++; cout << "Hi" << endl; } ~A(){ cout << "Bye" << endl; } }; int A::total = 0; int main() { A a; A b; cout << a.total << endl; }
run
|
edit
|
history
|
help
0
CS 201
Pairs with given sum
Matrix spiral print
ulib
День Программиста
Problema2
C++ state machine prototype
C++ Inheritance Example
Bitset Operators
merge without extra space Gap method ALgorithm