parse_numeric

September 14, 2025 ยท View on GitHub

Shows how to use format xtd::parse method with numeric values (int8, int16, int32, int64, uint8, uint16, uint32 and uint64).

Sources

  • src/parse_numeric.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 (with colors)

42
42
42
42
42
42
42
-42
Exception : invalid character found

Contents

  1. 1Sources
  2. 2Build and run