Mercurial Hosting > traffic-intelligence
comparison c/utils.cpp @ 703:bee0e7407af7 dev
corrected compilation bug on linux
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 21 Jul 2015 15:52:43 -0400 |
parents | c389fae9689a |
children | 6c5ce3ec497e |
comparison
equal
deleted
inserted
replaced
702:f0a897d7f3a5 | 703:bee0e7407af7 |
---|---|
2 | 2 |
3 #include <boost/foreach.hpp> | 3 #include <boost/foreach.hpp> |
4 | 4 |
5 #include <iostream> | 5 #include <iostream> |
6 #include <fstream> | 6 #include <fstream> |
7 #include <sstream> | |
8 | 7 |
9 using namespace std; | 8 using namespace std; |
10 | 9 |
11 std::vector<std::vector<float> > loadNumbers(const string& filename, const string& separator /* = " " */) { | 10 std::vector<std::vector<float> > loadNumbers(const string& filename, const string& separator /* = " " */) { |
12 ifstream in(filename.c_str()); | 11 ifstream in(filename.c_str()); |