Standard I/O functions. More...
#include <cstdio>
#include <iostream>
#include <string>
Go to the source code of this file.
Namespaces | |
basis | |
Macros | |
#define | _BASIS_STDIO_H |
Functions | |
int | basis::get_terminal_columns () |
Get maximum number of columns of terminal window. More... | |
int | basis::get_terminal_lines () |
Get maximum number of lines of terminal window. More... | |
void | basis::get_terminal_size (int &lines, int &columns) |
Get size of terminal window. More... | |
std::ostream & | basis::print_wrapped (std::ostream &os, const std::string &text, int width, int indent, int offset) |
Print text, wrapped at a fixed maximum number of columns. More... | |
Standard I/O functions.
This module defines standard I/O functions for the input and output of messages from STDIN or to STDOUT/STDERR, respectively. In particular, it includes the cstdio header file of the standard C library as well as the iostream header file of the standard C++ library. Besides these common functions of the standard C/C++ libraries, it provides some additional useful auxiliary functions. Therefore, this header file may be included instead of cstdio, stdio.h, or iostream.
Definition in file stdio.h.