From 19aa4243bbf59cecb348541495b9e7abe04777ef Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 17 Jan 2021 13:00:29 +0100 Subject: Corrected output of csmap csset examples. --- docs/csmap_api.md | 14 +++++++------- docs/csset_api.md | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'docs') diff --git a/docs/csmap_api.md b/docs/csmap_api.md index d4406978..dbb71fc7 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -129,9 +129,9 @@ int main() ``` Output: ``` -Key:[RED] Value:[#FF0000] -Key:[GREEN] Value:[#00FF00] Key:[BLUE] Value:[#0000FF] +Key:[GREEN] Value:[#00FF00] +Key:[RED] Value:[#FF0000] The HEX of color RED is:[#FF0000] The HEX of color BLACK is:[#000000] ``` @@ -207,10 +207,10 @@ int main() ``` Output: ```c -{ 100, 0, 0 }: 1 { 0, 0, 100 }: 3 -{ 100, 100, 100 }: 4 { 0, 100, 0 }: 2 +{ 100, 0, 0 }: 1 +{ 100, 100, 100 }: 4 ``` ### Example 4 @@ -238,8 +238,8 @@ int main() ``` Output: ```c -4: { 100, 100, 100 } -3: { 0, 0, 100 } -2: { 0, 100, 0 } 1: { 100, 0, 0 } +2: { 0, 100, 0 } +3: { 0, 0, 100 } +4: { 100, 100, 100 } ``` diff --git a/docs/csset_api.md b/docs/csset_api.md index 27a744f3..bbcdb65d 100644 --- a/docs/csset_api.md +++ b/docs/csset_api.md @@ -111,13 +111,13 @@ Output: ``` fifth contains: -red -green +blue flour +green +milk orange -blue pink -yellow -milk potatoes +red +yellow ``` -- cgit v1.2.3