Commit Graph

9 Commits

Author SHA1 Message Date
Johannes Kapfhammer b3250096e1
add function for declaring an interactive tasks 2021-05-01 15:37:18 +02:00
Johannes Kapfhammer 080e3f1261 add functions to redirect input/output
those two multiply the output into a file:

void redirect_output(const char *filename);
void redirect_output(std::string const &filename)

those two read everything from a file:

redirect_input(const char *filename);
redirect_input(std::string const& filename);

both can be resetted using:

void reset_input();
reset_output();
2019-10-28 21:26:54 +01:00
Johannes Kapfhammer a217eec176 include all headers beforehand to fix compilation errors under clang 2019-10-12 10:44:14 +02:00
Johannes Kapfhammer 11b6ae9729 implement read() and print() functions for easier I/O 2019-10-10 14:05:52 +02:00
Johannes Kapfhammer 492a0f3c55 run clang-format 2019-10-06 18:38:23 +02:00
Johannes Kapfhammer 4d25fc25c4 fix pretty printer for recursive types 2019-10-06 18:37:37 +02:00
Johannes Kapfhammer 3d1c648b4f put include all into its own header 2019-10-06 17:19:10 +02:00
Johannes Kapfhammer d8a3ccc553 rename from soi.h to soi, including macros 2019-10-06 17:16:19 +02:00
Johannes Kapfhammer 44aa8d060a initial commit 2019-10-06 16:45:29 +02:00