tree: 8fa69d677e9a30e0b77cc7a92057236fdbd29600 [path history] [tgz]
  1. CMakeLists.txt
  2. CreateProjectFiles.bat
  3. example.cfg
  4. example1.cpp
  5. example2.cpp
  6. example3.cpp
  7. examples.cpp
  8. README.md
contrib/chained/examples/README.md

Running the examples

Expected Console Output:

<<< 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 ---