(C++) std

January 8, 2018 · View on GitHub

 

 

 

 

 

(C++) std

 

std is the namespace all STL functions and classes reside in, for example, the global output stream called 'cout'.

 

To call something from a certain namespace, write the namespace's name in front, followed by the scope operator, ::.


#include <iostream> int main() {   std::cout << "Hello World\n"; }