Functions | |
| string | ask (const string &question, bool allow_empty) |
| bool | ask_yn (string question, const char *default_answer) |
| int | ask_number (string question, int low, int high) |
| size_t | choose (const string &title, const vector< string > &answers) |
| size_t | choose (const string &title, const string &answers, char separator) |
| void | pause (const string &message) |
| void | pause (const std::string &message) |
| std::string | ask (const std::string &question, bool allow_empty=false) |
| size_t | choose (const std::string &title, const std::string &answers, char separator=',') |
| ask user to select between several choices. More... | |
| size_t | choose (const std::string &title, const std::vector< std::string > &answers) |
| ask user to select between several choices. More... | |
|
||||||||||||
|
Definition at line 39 of file user.cpp. Referenced by ask_number(), ask_yn(), and pause(). |
|
||||||||||||
|
ask a question and expect yes/no/y/n as answer
|
|
||||||||||||||||
|
ask to enter a number between low and high Definition at line 68 of file user.cpp. Referenced by choose(). |
|
||||||||||||
|
Definition at line 83 of file user.cpp. Referenced by choose(). |
|
||||||||||||||||
|
|
|
|
|
|
|
Display message and wait for RETURN |
|
||||||||||||
|
ask a question and return user input
|
|
||||||||||||||||
|
ask user to select between several choices.
|
|
||||||||||||
|
ask user to select between several choices.
|
|
Contact me in case of errors or questions. This documentation is powered by |
(C) 2000-2002 |