vendredi 10 mars 2017

'using namespace std' is causing a strange behaviour [duplicate]

This question already has an answer here:

I ran the following 2 snippets of code, which are the same except the usage of "namespace std" in the second. I am not able to understand the reason why their outputs are different. Can someone please guide me? Thanks!

without namespace std

http://ift.tt/2lN4mhJwithout namespace

with namespace std

http://ift.tt/2lMTFvDwith namespace std

Aucun commentaire:

Enregistrer un commentaire