Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
const_cast
//g++ 7.4.0 #include <iostream> void pr(const int& x) { ++const_cast<int&>(x); std::cout<<"x = "<<x<<"\n"; } int main() { std::cout << "Hello, world!\n"; int y=5; pr(y); std::cout<<"y = "<<y<<"\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Count edges in a graph
多态
stack::swap_30-Seconds-of-C++
TwoVarRegression
string match2
Ploshtina na pravoagolnik
Zadanie Kolokwium 2013: Trójkąty i trójkąty
Networked path_dp
printAllPathsInMatrix
SOS DP
stackse - search stackoverflow differently
Please log in to post a comment.