I've had this question on my C++ quiz.
To use c++ standard library we write ...
#include <iostream>
using namespace std;
import std;
None of the above
I've answered it #include <iostream>
. Because indeed <iostream>
is a standard C++ library. When I asked the professor about the correct answer he said the correct answer is using namespace std;
. Actually, the correct answer doesn't make sense to me. And also the question is confusing.