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.
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.
http://www.cplusplus.com/reference/iostream/cout.html
What you have is C++, not C.
Moved to C++ programming forum.
I suggest that you post the smallest and simplest program that demonstrates the error.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)