// C++'s iostream declares stream objects cin, cout, etc., // but within the 'std' namespace. Note that you can't // use the .h suffix when you're #including headers from the // C++ standard library (but you do need them when including // a local header, e.g., #include "ll.h") #include // We want to include C's header file stdlib.h. // To include a C standard library header foo.h // in a C++ program, you use #include #include int main(int argc, char **argv) { // "std::cout" means "the symbol 'cout' scoped to the 'std' // namespace. It is an object of type ostream. // "<<" is an operator, defined by the ostream class. // "endl" is a 'manipulator' function defined in "std". This // function operates on an ostream to flush the stream and // write a newline character. std::cout << "Hello, World!" << std::endl; return EXIT_SUCCESS; }