Horje
c++ namespace example Code Example
c++ namespace example
#include <iostream>
using namespace std;
namespace square{
	int x;
	int y;
}
int main(){
	using namespace square;
	x = 10;
	y = 0;
	cout << x << y << endl;
}
namespace c++
Namespace std::cout or cout <<




Cpp

Related
sizeof’ on array function parameter ‘arr’ will return size of ‘int*’ [-Wsizeof-array-argument] Code Example sizeof’ on array function parameter ‘arr’ will return size of ‘int*’ [-Wsizeof-array-argument] Code Example
len in cpp Code Example len in cpp Code Example
pointer Code Example pointer Code Example
c++ power of two Code Example c++ power of two Code Example
or in c++ Code Example or in c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7