19 template<
typename Type>
20 inline void print(
const Type& curr) {
26 template<
typename Type,
typename ...Args>
27 inline void print(
const Type& curr, Args... args) {
28 std::cout << curr <<
" ";
40 template<
typename Type>
42 std::cout << curr <<
"\n";
47 template<
typename Type,
typename ...Args>
48 inline void println(
const Type& curr, Args... args) {
49 std::cout << curr <<
" ";
60 std::getline(std::cin, str);
68 template<
typename Type>
78 template<
typename Type,
typename ...Args>
79 inline void readln(Type& curr, Args&... args) {
Input and output module.
Definition csv.h:23
void print(const Type &curr)
Print the given argument to standard output.
Definition io.h:20
void println()
Print a newline to standard output.
Definition io.h:34
std::string readln()
Read a line from standard input, up to a line return.
Definition io.h:57
Main namespace of the library which contains all functions and objects.
Definition algebra.h:27