#include <fstream>
#include <string>

using namespace std;

#ifndef __ARQUIVO_H__
#define __ARQUIVO_H__

#define FIRST     0
#define NEXT      1
#define PREVIOUS  2
#define LAST     -1
#define UNIQUE   -2
#define MIDDLE   -3

void saveArq(string nomeArq, ios_base::openmode mode=ios_base::app, bool fim=false);
int readArq(string nomeArq);
int readArq(int sentido);

#endif // __ARQUIVO_H__
