【文件属性】:
文件名称:ssp:C ++ CSV解析器
文件大小:47KB
文件格式:ZIP
更新时间:2021-05-08 10:18:57
c-plus-plus parser csv cpp conversion
__________ ____
/ ___/ ___// __ \
\__ \\__ \/ /_/ /
___/ /__/ / ____/
/____/____/_/
仅标头的“ csv”解析器,使用现代C ++ API可以快速且通用。 需要具有C ++ 17支持的编译器。
使用调用的浮点值的转换。 功能特征取自 。
例子
假设我们有一个csv文件,其中包含给定格式'$ name,$ age,$ grade'的学生,并且我们想解析并打印所有有效值:
$ cat students.csv
James Bailey,65,2.5
Brian S. Wolfe,40,1.9
Nathan Fielder,37,Really good grades
Bill (Heath) Gates,65,3.3
# include < iostream>
# include
【文件预览】:
ssp-master
----.github()
--------workflows()
----test()
--------test_main.cpp(64B)
--------test_converter.cpp(13KB)
--------meson.build(418B)
--------test_helpers.hpp(1014B)
--------test_extractions.cpp(13KB)
--------CMakeLists.txt(938B)
--------test_parser.cpp(21KB)
--------test_splitter.cpp(30KB)
----subprojects()
--------fast_float.wrap(72B)
--------doctest.wrap(68B)
----include()
--------ss()
----meson.build(402B)
----LICENSE(1KB)
----.gitignore(103B)
----CMakeLists.txt(2KB)
----README.md(23KB)
----script()
--------ci_install_deps.sh(357B)
--------ci_setup_icc.sh(313B)
--------ci_install_icc.sh(754B)