By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,778 Members | 1,947 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,778 IT Pros & Developers. It's quick & easy.

USING cout (How do you tab???)

P: 21
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
Share this Question
Share on Google+
1 Reply

P: 144
"\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.