school/cs142/smcquay/lab09/util.h

18 lines
379 B
C
Raw Normal View History

2016-04-06 20:45:34 -07:00
#ifndef __UTIL_H__
#define __UTIL_H__
#include <vector>
#include <string>
#include <ostream>
using namespace std;
#include "person.h"
ostream & operator<<(ostream &, vector<bool> &);
vector<string> tokenize(const string & str, const string & delimiters=" ");
vector<person> parse_file(string filename);
void save_file(string filename, const vector<person> & people);
#endif