471,058 Members | 975 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,058 software developers and data experts.

USING cout (How do you tab???)

So what i am trying to print out is

using white (DELUXE) for $184.00.
Materials = $40.00
Labor = $144.00

I am wondering how do you tab forward on Material and labor

is it something like cout << /t
that is how it is in java, but it wont work on C++

Oct 4 '06 #1
1 42147
144 100+
"\t" is the correct escape character for a tab. You were using the wrong direction slash, and it needs to be quoted (ie. cout << "\tMaterials ").
Oct 4 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by J. Campbell | last post: by
16 posts views Thread by Suzanne Vogel | last post: by
9 posts views Thread by Animatorboy | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.