How do I use cout (c++, on unix) for formatted output, like printf in C. The thing is I want to output the hexadecimal representations of characters..........in c++ using cout.............