|
-
May 22nd, 2004, 09:20 AM
#1
cout can do better than printf?
Hello,everyone!
I don't want to use printf of c style, i want to use cout. but i find i cant use cout as easy as printf.
for example, i dont know how to use cout to do something this:
printf("%14.6f%14.6f\n",1.0,2.31456);
I think it is a easy question, any suggestion is very helpful to me.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|