aboutsummaryrefslogtreecommitdiff
path: root/contrib/chained/examples/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/chained/examples/README.md')
-rw-r--r--contrib/chained/examples/README.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/chained/examples/README.md b/contrib/chained/examples/README.md
new file mode 100644
index 0000000..bab629b
--- /dev/null
+++ b/contrib/chained/examples/README.md
@@ -0,0 +1,43 @@
+
+### Running the examples ###
+
+Expected Console Output:
+
+```C++
+<<< Example 1 >>>
+
+'longitude' setting is out of valid bounds (max: 180). Value was: 1200.35
+Missing 'latitude' setting in configuration file.
+Cannot proceed until all mandatory settings are set.
+
+
+<<< Example 2 >>>
+
+TITLE AUTHOR PRICE QTY
+Treasure Island Robert Louis Stevenson $ 29.99 5
+Snow Crash Neal Stephenson $ 9.99 8
+
+
+<<< Example 3 >>>
+
+'longitude' setting is out of valid bounds (max: 180). Value was: 1200.35
+Missing 'latitude' setting in configuration file.
+Cannot proceed until all mandatory settings are set.
+
+Expected Config Layout:
+
+// -- begin --
+name = "<name>";
+abstract = "<unknown>";
+longitude = 0.0;
+latitude = 0.0;
+inventory =
+{
+ movies = ( );
+ books = (
+ {
+ title = "bookXYZ";
+ } );
+};
+// --- end ---
+``` \ No newline at end of file