Changes in src/UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp [955b91:f10b0c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp
r955b91 rf10b0c 30 30 #include "RandomNumbers/RandomNumberDistribution_Parameters.hpp" 31 31 32 TextDialog::RandomNumberDistribution_ParametersTextQuery::RandomNumberDistribution_ParametersTextQuery( std::string title, std::string _description) :33 Dialog::RandomNumberDistribution_ParametersQuery( title,_description)32 TextDialog::RandomNumberDistribution_ParametersTextQuery::RandomNumberDistribution_ParametersTextQuery(Parameter<RandomNumberDistribution_Parameters> ¶m, std::string title, std::string _description) : 33 Dialog::RandomNumberDistribution_ParametersQuery(param, title,_description) 34 34 {} 35 35 … … 43 43 std::cout << "Please enter parameters as follows: 'p=0.5;'"; 44 44 std::cout << "Empty line terminates." << std::endl; 45 std::cin >> tmp; 45 RandomNumberDistribution_Parameters temp_params; 46 std::cin >> temp_params; 47 tmp.set(temp_params); 46 48 if(std::cin.fail()){ 47 49 badInput = true;
Note:
See TracChangeset
for help on using the changeset viewer.