lineFileUtilities.h 421 Bytes
Newer Older
1
2
3
4
5
6
7
#ifndef LINEFILEUTILITIES_H
#define LINEFILEUTILITIES_H

#include <vector>
#include <string>
#include <algorithm>

Aaron's avatar
Aaron committed
8

9
10
11
using namespace std;

// split a line from a file into a vector of strings.  token = "\t"
12
13
void Tokenize(const string &str, vector<string>& tokens, const string &delimiter = "\t");
void Tokenize(const string &str, vector<int>& tokens,    const string &delimiter = "\t");
14
15
16


#endif /* LINEFILEUTILITIES_H */