#include<iostream>
 
using namespace std;
 
int main() {
 
	cout << "Test Lines:" << endl;
	cout << endl;
	cout << "1\tText after tab" << endl;
	cout << "12\tText after tab" << endl;
	cout << "123\tText after tab" << endl;
	cout << "1234\tText after tab" << endl;
	cout << "12345\tText after tab" << endl;
	cout << "123456\tText after tab" << endl;
	cout << "1234567\tText after tab" << endl;
	cout << "12345678\tText after tab" << endl;
	cout << "123456789\tText after tab" << endl;
	cout << endl;
	cout << "Now using tabs to format a list:" << endl;
	cout << endl;
	cout << "A list of ingredients:" << endl;
	cout << "\t3/4 C\t\tRice flour & 1/4 C. Amaranth flour & ½ C. Sweet Sorghum\n";
	cout << "\t1/2 C\t\tPotato Starch\n";
	cout << "\t3/4 C\t\tTapioca Flour (I am still playing with this, shifting to more tapioca)\n";
	cout << "\t1/3 C\t\tCornstarch\n";
	cout << "\t1 1/3 rounded T\tXanthan gum \"Pond scum\"\n";
	cout << "\t2 T\t\tsugar\n";
	cout << "\t1 rounded tsp\tsalt\n";
	cout << "\t1/3 heaping cup\tdry milk\n";
 
cout << endl;
 
	return 0;
}
cs-142/escape-sequences.txt · Last modified: 2016/08/30 00:41 by kseppi
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0