From c100a5a871ad3a856fcc1079862ff599efca6797 Mon Sep 17 00:00:00 2001 From: Roger Bratseth Date: Fri, 8 Dec 2023 08:25:50 +0100 Subject: [PATCH] making-the-grade: Fix introduction.md (#751) Variable-name in syntax of std::array and std::vector was in the wrong position in the commented lines of the examples. --- exercises/concept/making-the-grade/.docs/introduction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/making-the-grade/.docs/introduction.md b/exercises/concept/making-the-grade/.docs/introduction.md index 6d12ae984..b594c6d02 100644 --- a/exercises/concept/making-the-grade/.docs/introduction.md +++ b/exercises/concept/making-the-grade/.docs/introduction.md @@ -15,7 +15,7 @@ Look at these examples to see the two container types' initializations: #include #include -// std::array variable_name {list of elements} +// std::array variable_name {list of elements} std::array indie_rock {"yeah", "yeah", "yeah"}; // indie_rock contains the elements "yeah" three times ``` @@ -26,7 +26,7 @@ You do not need to specify a size: ```cpp #include -// std::vector variable_name {list of elements} +// std::vector variable_name {list of elements} std::vector countdown {3, 2, 1}; // my_vector contains the elements 3, 2 and 1 ```