+ 1

what is 'using' keyword in c++???

19th Sep 2018, 8:36 AM
Nitesh Ghimire
3 Respostas
+ 3
There are namespaces in programs, think of std namespace which is declared in standard library. If you'd like to use a variable or object from a declared namespace you have to use scope operator. For example std::cout << "Hello!; With using you gives that you use a given namespace so you have not need a scope operator. For example: using namespace std; cout << "Hello!";
19th Sep 2018, 9:42 AM
Károly Komjáti
Károly Komjáti - avatar