Dev C++ - Fraction Calculator - Input Parser with Tokens - Episode 3

2 years ago
137

Continuing Project 3 by finishing input parsing

I finish fixing the input handling by creating procedures which the FractionInput class uses to parse a user string retrieved from an InputWidget which represents a fractional number.

Example Inputs to parse to populate a Fraction:

" 1 "
"2 3/ 4"
" 3 / 5 "
" +3 / -2 "
" -1 2 / 3
" -1 -2 / -3 "

Music: Beethoven Sonata 24 F Major

Loading comments...