Skip to content

lamhydro/csv2bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv2bin

Overview

This piece of sotfware:

  1. readCSVFile() read a *.csv file formed by rows and columns into a struct.
  2. writeCsv2Bin() save the struct into a *.bin file.
  3. readBINFile() read the just saved *.bin file (optional)

The case presented here is for a CSV file containing a time series. The code need to be adapted depending of CSV data structure, in particular, the structre in csv2bin.h.

Execution

Compile

make. To clean make clean

Execute

make test. This will read ts.csv and produce ts.bin within /test dir.

About

Convert csv file into binary file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published