From 6a3ba48a2c6a482e74453320e66a8cfa08f28cfd Mon Sep 17 00:00:00 2001 From: ado Date: Sun, 6 Aug 2023 12:51:11 +0200 Subject: [PATCH] [skip ci] Update README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5dcc5c7..ab58497 100644 --- a/README.md +++ b/README.md @@ -96,14 +96,14 @@ Brian S. Wolfe,40,1.9 Bill (Heath) Gates,65,3.3 ``` ```cpp - // ... - ss::parser p{"students_with_header.csv"}; - p.use_fields("Id", "Grade"); +// ... +ss::parser p{"students_with_header.csv"}; +p.use_fields("Id", "Grade"); - for(const auto& [id, grade] : p.iterate()) { - std::cout << id << ' ' << grade << std::endl; - } - // ... +for(const auto& [id, grade] : p.iterate()) { + std::cout << id << ' ' << grade << std::endl; +} +// ... ``` ```shell $ ./a.out