Does anyone know how to insert "tab" into a stream of output so they can align with each other?
Thanks so muchCode:
outFile << first_name << last_name << type_coverage << zip_code
<< premium << endl; //output premium to file output
Printable View
Does anyone know how to insert "tab" into a stream of output so they can align with each other?
Thanks so muchCode:
outFile << first_name << last_name << type_coverage << zip_code
<< premium << endl; //output premium to file output
>Does anyone know how to insert "tab" into a stream of output so they can align with each other?
The '\t' escape character.
-Prelude
Thanks so much prelude!! I really appreciate your help!! :)