Integer input example #558
timeopochin
started this conversation in
Show and tell
Replies: 1 comment
-
Nice! I tried, it worked. Maybe we can add a link to it from the wiki? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I just discovered this project, it's wonderful! I've been playing around with it and I think it will be part of many of my future projects. I needed to have a way to input an integer, and I thought my implementation was worth sharing. I'm not sure if it's the sort of thing that would make sense to add to the library which is why I haven't made a pull request; but I could always try to make it part of the project in the future.
Here it is: FTXUI integer input example
It does require C++11 as I use std::stoi.
P.S. Actually, maybe it would be a good thing to add to the examples, even if it isn't part of the library itself? Let me know :)
Beta Was this translation helpful? Give feedback.
All reactions