|
1D Heat Equation Solver 1.0
Computational Methods Assignment 2025
|
#include "user_input.h"
Go to the source code of this file.
Functions | |
| int | askForInteger (const std::string &prompt, const std::function< bool(int)> &isValid, const std::string &errorMessage) |
| Implementation for integer input. | |
| double | askForDouble (const std::string &prompt, const std::function< bool(double)> &isValid, const std::string &errorMessage) |
| Implementation for floating-point input. | |
| double askForDouble | ( | const std::string & | prompt, |
| const std::function< bool(double)> & | isValid, | ||
| const std::string & | errorMessage ) |
Implementation for floating-point input.
Ask for a floating-point value from the user.
Definition at line 17 of file user_input.cpp.


| int askForInteger | ( | const std::string & | prompt, |
| const std::function< bool(int)> & | isValid, | ||
| const std::string & | errorMessage ) |
Implementation for integer input.
Ask for an integer value from the user.
Definition at line 6 of file user_input.cpp.
