what is 'using' keyword in c++??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

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

19th Sep 2018, 8:36 AM
Nitesh Ghimire
1 Resposta
+ 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