Why we must use using namespace std; | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Why we must use using namespace std;

30th Oct 2016, 2:04 PM
HEMANTH KUAMR
HEMANTH KUAMR - avatar
3 Réponses
0
because for cout, cin etc. you need to write std::cout std::cin etc with using namespace std you write only cout, cin
30th Oct 2016, 2:07 PM
Leo Flame
Leo Flame - avatar
0
txs mr.leo flame
30th Oct 2016, 2:12 PM
HEMANTH KUAMR
HEMANTH KUAMR - avatar
0
you're welcome :)
30th Oct 2016, 2:13 PM
Leo Flame
Leo Flame - avatar