Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
References Pt 1 C++
//g++ 5.4.0 #include <iostream> int main() { int a = 5; int b = 8; //After once usage of reference, it can't be set to other variable as reference int& ref = a; // ref = b; //Everything changes to 8 std::cout << " This is ref: "<<ref << "\t this is a: "<< a << "\t this is b: "<< b <<"\n"; ref = 4; std::cout << "NOW This is ref: "<<ref << "\t this is a: "<< a << "\t this is b: "<< b <<"\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Korelacja Pearsona lol
find first non repeating
stlsizeof.cc
Game
Segment Tree
dijkstra's algo
ForwardLiceSplice
execution of constructor and destructor
basic caculate i
DFS
stackse - search stackoverflow differently
Please log in to post a comment.