Revision fcab1da9525095c81da5ff806f402713df2cda6a authored by Eric Fischer on 08 April 2019, 23:33:03 UTC, committed by Eric Fischer on 08 April 2019, 23:33:03 UTC
2 parent s a8a183d + 9d06af9
Raw File
csv.hpp
#ifndef CSV_HPP
#define CSV_HPP

#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <string>
#include <map>

std::vector<std::string> csv_split(const char *s);
std::string csv_dequote(std::string s);
void readcsv(const char *fn, std::vector<std::string> &header, std::map<std::string, std::vector<std::string>> &mapping);
std::string csv_getline(FILE *f);
bool is_number(std::string const &s);

#endif
back to top