Question #176   Submitted by Answiki on 10/14/2020 at 04:09:50 PM UTC

Which library should I include to get the C++ object cout.

Answer   Submitted by Answiki on 10/15/2020 at 05:53:11 AM UTC

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 Answiki on 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 Answiki on 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 Answiki 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.