C++ Library question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++ Library question

what is the difference between #include <iostream>; and using namespace std; as far as i can tell they both are taking in some sort of standart library, what do they refer to ?

1st Jan 2018, 10:25 AM
caglar anil arkes
caglar anil arkes - avatar
2 Answers
+ 10
You shouldn't use namespace std; https://www.sololearn.com/Discuss/392399/?ref=app
1st Jan 2018, 10:32 AM
Dev
Dev - avatar