Mega Code Archive

 
Categories / C++ Tutorial / Language Basics
 

Use the using keyword

#include <iostream> int main() {     using std::cout;     using std::endl;        cout << "Here is 5: " << 5 << "\n";     cout << 8+5 << endl;     return 0; } Here is 5: 5 13