mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
update readme
This commit is contained in:
parent
4f8fcae350
commit
6620dc855f
@ -85,7 +85,7 @@ The library supports [CMake](#Cmake) and [meson](#Meson) build systems
|
|||||||
|
|
||||||
## Headers
|
## Headers
|
||||||
|
|
||||||
The parser can be told to use only certain columns by parsing the header. This is done using the **use_fields** method. It accepts any number of string-like arguments or even an **std::vector<std::string>** with the field names. If any of the fields are not found within the header or if any fields are defined multiple times it will result in an error.
|
The parser can be told to use only certain columns by parsing the header. This can be done by using the **use_fields** method. It accepts any number of string-like arguments or even an **`std::vector<std::string>`** with the field names. If any of the fields are not found within the header or if any fields are defined multiple times it will result in an error.
|
||||||
```shell
|
```shell
|
||||||
$ cat students_with_header.csv
|
$ cat students_with_header.csv
|
||||||
Name,Age,Grade
|
Name,Age,Grade
|
||||||
|
Loading…
Reference in New Issue
Block a user