random3

September 14, 2025 ยท View on GitHub

Shows how to use xtd::random::next method.

Sources

  • src/random3.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

Suggested pet name of the day: 
   For a male:     Prince
   For a female:   Talla

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output