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