On 2001-07-18, Liguo Song wrote:

>Most of the replies answered about C programming information. But, how
>about C++ information? Such to print out an integer in hexadecimal
>format with cout. (For anyone who is interested, after extensive
>searching, I dig out that cout.setf(ios_base::oct, iso_base::basefield)
>will do it).

Ugly. Use manipulators (include <iomanip>):

int value = 1;
cout << hex << value << endl;

>But, it should be much easier under Linux. For example, I can always use
>"man printf" to figure out everything I need to know about printf.
>
>Is there any way to find the information about the standard library of
>C++?

Any good book does it. Or the C++ Standard (Draft, Working Paper -
the final is commercial).





_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to