I am learning C++, and in the part of user-defined output stream manipulatior, I am stuck. This is the example code:
#include using
cout's left shift operator calls endLine with cout as an argument. Functions (technically function pointers) don't need to be called when you write their names; you can pass them around as values and have some other code call them later.
cout
endLine