From 919d341fb98e7179ede8b2aa21765868f66b4926 Mon Sep 17 00:00:00 2001 From: Markus Werle Date: Mon, 6 Dec 2021 21:30:07 +0100 Subject: [PATCH] add c++ code rendering to markdwon text --- docs/introduction/Examples.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/introduction/Examples.md b/docs/introduction/Examples.md index 591a5e8f..a4680f42 100644 --- a/docs/introduction/Examples.md +++ b/docs/introduction/Examples.md @@ -1,8 +1,10 @@ ## Examples + ### Simple - reading from an existing xlsx spread sheet. + The following C plus plus code will read the values from an xlsx file and print the string values to the screen. This is a very simple example to get you started. -``` +```c++ #include #include @@ -49,8 +51,10 @@ Processing complete As you can see the process.cpp file simply walks through the spread sheet values row by row and column by column (A1, B1, C1, A2, B2, C2 and so on). ### Simple - storing a spread sheet in a 2 dimensional C++ Vector for further processing + Loading a spread sheet into a Vector provides oppourtunities for you to perform high performance processing. There will be more examples on performing fast look-ups, merging data, performing deduplication and more. For now, let's just learn how to get the spread sheet loaded into memory. -``` + +```c++ #include #include #include @@ -129,7 +133,8 @@ time ./process real 0m0.044s ``` ### Simple - writing values to a new xlsx spread sheet. -``` + +```c++ #include #include #include