Could someone tell me

This is a discussion on Could someone tell me within the C++ Programming forums, part of the General Programming Boards category; cout << "max(1,2)==" << max(1,2) << endl; cout << "max(2,1)==" << max(2,1) << endl; cout << "max('a','z')==" << max('a','z') << ...

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    32

    Could someone tell me

    cout << "max(1,2)==" << max(1,2) << endl;
    cout << "max(2,1)==" << max(2,1) << endl;
    cout << "max('a','z')==" << max('a','z') << endl;
    cout << "max(3.14,2.72)==" << max(3.14,2.72) << endl;


    what does cout mean? i can not compile w/o stating a cout.

  2. #2
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Posts
    398

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,794
    Moved to C++ programming forum.

    I suggest that you post the smallest and simplest program that demonstrates the error.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21