Carefully distinguish the using directive

using namespace std;
from the using directive
using std::cout;

The using directive, using namespace std;, makes all the names in the namespace available to the program. The using declaration, using std::cout;, declares the one name in your program.

Computer Science & Information Technology

You might also like to view...

A(n) ________ ________ represents a data point in a chart

Fill in the blank(s) with correct word

Computer Science & Information Technology

Errors flagged by the Spelling and Grammar checker can be customized in the ________ section of the Word Options dialog box

A) General B) Display C) Advanced D) Proofing

Computer Science & Information Technology