Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

namespace c++

//Namespaces provide a method for preventing name conflicts in large projects.
//Symbols declared inside a namespace block are placed in a named scope that
//prevents them from being mistaken for identically-named symbols in other
//scopes. Multiple namespace blocks with the same name are allowed.
//All declarations within those blocks are declared in the named scope.
namespace yourName{
	//any code you want to put inside
}
Source by en.cppreference.com #
 
PREVIOUS NEXT
Tagged: #namespace
ADD COMMENT
Topic
Name
5+7 =