Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C++ out of ref
#include <iostream> #include <vector> using namespace std; class Foo { int bar; int& getBar() { return bar; } }; int main() { vector<int> foo; int& bar = foo[0]; foo.push_back(1); bar = 100; std::cout << "Hello, world!\n" << bar << endl; }
run
|
edit
|
history
|
help
0
STL stack
PrintAddress
Maze problem solution
regimeketopdf
Sum of Natural Numbers using loop
Clang-IsBaseOf
Fun with Pointers #1
SceneGraph Interviewee Task
le regime keto aviss
appliWall