Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
alma
#include <iostream> #include <memory> int main() { std::shared_ptr<int> x{std::make_shared<int>(10)}; std::shared_ptr<int> y{nullptr}; x = y; std::cout << x.get(); // <-- print 0 }
run
|
edit
|
history
|
help
0
TmpFib
C++
DBeach Resort 4R8J-8P (State of Rio Grande.do Norte Brazil)
UB mutex lock
sdefrgthyjukiujyhtg
MY NEW
A number is prime or not
stack
Fractional Knapsack
Facebook - Split into monotonic sequences