Verified Commit f85b33ba authored by ANA MANZANO RODRIGUEZ's avatar ANA MANZANO RODRIGUEZ Committed by Alberto Miranda
Browse files

string_to_convert function remove it

parent 873fb4f4
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -5,18 +5,6 @@
#define NINPUTS  10
#define NOUTPUTS 5

bool
string_to_convert(s) {
    if(s == "true" || s == "TRUE" || s == "True") {
        return true;
    } else if(s == "false" || s == "FALSE" || s == "False") {
        return false;
    } else {
        fprintf(stderr, "ERROR: Incorrect input value. Please try again.\n");
        exit(EXIT_FAILURE);
    }
}

int
main(int argc, char* argv[]) {