Pre-recorded question

Question #268
Which library should I include to get the C++ object cout.
Answer

In C++, the cout object is declared in the library <iostream>:

#include <iostream>

Don't forget to specify the std name space: using namespace std; or std::cout<<"Hello";

3 events in history
Answer by Alphonsio 10/15/2020 at 05:53:11 AM

In C++, the cout object is declared in the library <iostream>:

#include <iostream>

Don't forget to specify the std name space: using namespace std; or std::cout<<"Hello";

Answer by Alphonsio 10/14/2020 at 04:13:55 PM

In C++; the cout object is declared in the library <iostream>:

#include <iostream>

Don't forget to specify the std name space: using namespace std; or std::cout<<"Hello";

Question by Alphonsio 10/14/2020 at 04:09:50 PM
Which library should I include to get the C++ object cout.
# ID Query URL Count

Icons proudly provided by Friconix.