Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PreprocessorVsNamespace
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #define bar 222; namespace aaa { struct bbb { int foo; int bar; }; const bbb myB; } int main() { using aaa::myB; std::cout << "Hello, world!\n"; std::cout << "aaa::myB::foo:"<< myB.foo << "\n"; std::cout << "aaa::myB::bar:"<< myB.bar << "\n"; }
run
|
edit
|
history
|
help
0
Matrix_1
operator/function lookup
atoi on hex
Number of paths in matrix
C++ string format
Two-phase sample with VC++ 2015
#32
derived_tempalte
define own struct
hangman