cin >> std::min -->No operator ">>" matches these operands
clusardi2k_at_aol.com
Date: 02/28/05
- Next message: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Next in thread: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: David Anderson: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 10:25:01 -0800
For portability reasons, how can I compile the below code on SGI?
#include <ios>
#include <iostream.h>
int main ()
{
int min;
cout << "hour " << std::hex << c << endl;
cout << "Enter min "";
cin >> std::hex >> min;
}
CC file.cpp
No operator ">>" matches these operands.
the operand types are: istream_withassign >> <unknown type>.
cin >> std::min;
^
Thank you,
Christopher Lusardi
- Next message: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Next in thread: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: clusardi2k_at_aol.com: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Reply: David Anderson: "Re: cin >> std::min -->No operator ">>" matches these operands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|