next up previous
Next: How do I read Up: class and struct Previous: How do I write

How do I write to the standard output in a C++ way?

Include iostream and use the operator $ «$.
std::cout << "Hello!" << std::endl;



Alexis Angelidis (PhD) 2005-01-11