Originally posted by avinash jain
Will you send some code and then tell me what's your problem with that code.
Kind regards,
Dmjpro.
if ( response == "min") { // Make min object } else if ( response == "max") { blah blah blah } // Keep extending the structure until all cases are handled
AlgorBase * algor = Algor::Builder( response);
if ( response == "min") { // Make min object } else if ( response == "max") { blah blah blah }
( (response == "min") && MakeMinObject() ) || ( (response == "max") && MakeMaxObject() )
value = (response == "min")*minvalue + (response == "max")*maxvalue;
Comment