Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
simple use of namespace
#include<iostream> //using namespace std; namespace first { int x=7; int y=8; } namespace second { double x=4.89934; double y=5.9833; } int main() { using namespace first; std::cout<<"\nx= "<<x<<std::endl; std::cout<<"\ny : "<<second::y; return 0; }
run
|
edit
|
history
|
help
0
On Off
For Hello World
Two-phase sample with GCC
Sorting sort function stl in c++
designated-inits
Big O Notation array problem
cppbasic
pbds
MapGrocery
MoaJhalMury