🔥 Burn Fat Fast. Discover How! 💪

#cpp #beginner Painless, by sharkdp. 26 stars, 48 commits htt | IT Exponenta

#cpp #beginner
Painless, by sharkdp.
26 stars, 48 commits

https://github.com/sharkdp/painless

painless is a header-only C++ library that provides an easy way to use interactive parameters in your program.

New parameters are defined with a macro call that takes an identifier (and name) for the parameter as well as a default value:
3.14f);

The variable my_parameter can then be used as if it was a normal float value.

At runtime, painless then creates a file called /tmp/painless/my_parameter with the following content:

3.14
# Parameter 'my_parameter'
# Default value: '3.14'

painless is mainly intended for early exploratory development phases and does not aim to be a feature-complete parameter handling solution.

#github