Functions | |
void | flush () |
void | newline () |
void | newline (int x) |
void | printUnderline (string x) |
void | print (string x) |
void | printInt (string x, int y) |
void | printDouble (string x, double y) |
void coutUtils::flush | ( | ) |
Copyright (C) 2007 A.N. Yzelman Released under LGPL, see license.txt
Last modified at 12th of April, 2007, by A.N. Yzelman
coutUtils.cpp: Implementation of coutUtils.h
Definition at line 13 of file coutUtils.cpp.
Referenced by newline(), print(), printDouble(), printInt(), and printUnderline().
void coutUtils::newline | ( | int | x | ) |
Prints a number of new lines.
x | The number of new lines to be printed. |
Definition at line 22 of file coutUtils.cpp.
void coutUtils::newline | ( | ) |
Prints a new line.
Definition at line 17 of file coutUtils.cpp.
References flush().
Referenced by newline().
void coutUtils::print | ( | string | x | ) |
Prints a string.
x | The string to be printed. |
Definition at line 35 of file coutUtils.cpp.
References flush().
void coutUtils::printDouble | ( | string | x, | |
double | y | |||
) |
Prints a string followed by an int.
x | The string to be printed. | |
y | The int to be printed. |
Definition at line 45 of file coutUtils.cpp.
References flush().
void coutUtils::printInt | ( | string | x, | |
int | y | |||
) |
void coutUtils::printUnderline | ( | string | x | ) |
Prints a string underlined by '='.
x | The string to be printed. |
Definition at line 28 of file coutUtils.cpp.
References flush().