// Copyright 2016, University of Freiburg,
// Chair of Algorithms and Data Structures.
// Author: Hannah Bast <bast@cs.uni-freiburg.de>.
#ifndef VORLESUNG_07_INPUTOUTPUT_H_
#define VORLESUNG_07_INPUTOUTPUT_H_
// Simple class for demonstrating I/O.
class InputOutput {
public:
// Constructor.
InputOutput();
// Parse command line arguments.
void parseCommandLineArguments(int argc, char** argv);
// Read file with name _filename.
void process();
// Filename.
const char* _filename;
// With or without line numbers.
bool _withLineNumbers;
};
#endif // VORLESUNG_07_INPUTOUTPUT_H_