BASIS  r3148
stdio.h File Reference

Standard I/O functions. More...

#include <cstdio>
#include <iostream>
#include <string>
+ Include dependency graph for stdio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  basis

Functions

int basis::get_terminal_columns ()
 Get maximum number of columns of terminal window.
int basis::get_terminal_lines ()
 Get maximum number of lines of terminal window.
void basis::get_terminal_size (int &lines, int &columns)
 Get size of terminal window.
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.

Detailed Description

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.

Copyright (c) 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file stdio.h.