comparison c/utils.cpp @ 708:a37c565f4b68

merged dev
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 22 Jul 2015 14:17:44 -0400
parents bee0e7407af7
children 6c5ce3ec497e
comparison
equal deleted inserted replaced
707:7efa36b9bcfd 708:a37c565f4b68
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());