I\'d like to know how to limit an input value to signed decimals using std::cin.
std::cin
Something like:
double a; cin >> a;
Should read your signed "decimal" fine.
You'll need a loop and some code to make sure it handles invalid input in a sensible way.
Good luck!