Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
reference
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> using namespace std; int main() { int num = 10; int &refnum = num; cout << "num =" << num <<endl; cout << "&num =" << &num <<endl; cout << "&refnum =" << &refnum <<endl; cout << "refnum =" << refnum << endl; std::cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
Policy class partial specialization inheritance
vc++ bug?
MSVC lambda bug
!Enum
Catching divide-by-zero with /EHc
c++
primitive type copy constructor
c++ eval - double numbers v1.0
Program_1_rstring
Template float/int comparison