Formatting in C++ (fwd)

Jing Su jingsu-26n5VD7DAF2Tm46uYYfjYg at public.gmane.org
Fri Dec 26 15:12:07 UTC 2003


My appologies... I double checked and realized I copied the code
incorrectly.  Heh. Should've used cut&paste instead of re-typing it.

The line should read:

std::cout << setw(2) << std::hex << (unsigned it)buf[i];

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list