Search:

Type: Posts; User: JerryL_MB

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    23,674

    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
    980

    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:
  3. Replies
    7
    Views
    980

    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";
    ...
  4. Replies
    7
    Views
    23,674

    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";
    ...
  5. Detecting operating system... a step towards a portable code

    Hi!

    I want to make a portable code - a code that could be used on pure MS-DOS, under Windows and Linux OS.

    There are some routines that are different for these operating systems.
    My idea is,...
  6. cin.getline question (user's input too long)

    Hello everyone!

    I have the following problem. The user is asked to input some data with the following command:

    //declarations:
    char a[81];
    char b[81];
    char c[81];

    //user is asked to input...
Results 1 to 6 of 6