Formatting in C++ (fwd)

John Wildberger wildberger-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org
Sat Dec 27 04:05:12 UTC 2003


On December 26, 2003 03:49 pm, Peter L. Peres wrote:
> std::cout << setf(uppercase) << setw(2) << hex << (unsigned it)buf[i];
> Peter
The setf does not seem to be supported in my distro (mdk9.1)
I did use #include <iomanip> and also
using namespace std;
The error message is: "setf undeclared (first use this function)".
John
--
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