Search:

Type: Posts; User: JerryL_MB

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    51,125

    Thanx sang-drax, the code is working. But can...

    Thanx sang-drax, the code is working. But can someone explain it to me a little bit?



    std::ostream& my_own_cout = cout;


    why it is not enough to write:
  2. Replies
    7
    Views
    51,125

    substituting cout

    As I know, cout is object of an ostream class. Am I right?

    I have the following question: I would like to use another 'command' to output data on the screen.
    e.g. instead of

    cout << "abc";
    ...
Results 1 to 2 of 2