Skip to content

Tutorials

Welcome to mp-units tutorials! These step-by-step lessons will teach you the library from scratch.

What are Tutorials?

Tutorials are learning-oriented lessons that guide you through using mp-units for the first time.

Each tutorial:

  • ✅ Assumes no prior knowledge of the library
  • ✅ Teaches by doing with interactive examples
  • ✅ Builds your confidence progressively
  • ✅ Provides immediate hands-on experience

Prerequisites: Basic C++ knowledge and a good mood! 😊

Learning Path

1. Quick Start (~30 minutes)

Get up and running with the basics:

2. Working with Units (~50 minutes)

Learn to convert and work with different unit systems:

3. Type Safety (~65 minutes)

Experience compile-time safety in action:

4. Affine Space (~55 minutes)

Understand points vs quantities:

Total time

~200 minutes to complete all tutorials.

What's Next?

After completing the tutorials:

  • Study: Read the User's Guide for explanation-oriented understanding of concepts
  • Practice: Try Workshops with hands-on exercises
  • Apply: Browse How-to Guides for task-oriented solutions to specific problems
  • Explore: Check Examples for complete applications
  • Lookup: Use the Reference for information-oriented technical details

Getting Help

Let's begin!