Closed mschatten closed 3 years ago
AK_get_operator mogao bi se elegantnije riješiti kroz switch case. if(strstr(exp,"+")) return "+"; else if(strstr(exp,"-")) return "-"; else if(strstr(exp,"/")) return "/"; else if(strstr(exp,"%")) return "%"; else if(strstr(exp,"")) return "";
Javljam se za rješavanje.
AK_get_operator mogao bi se elegantnije riješiti kroz switch case. if(strstr(exp,"+")) return "+"; else if(strstr(exp,"-")) return "-"; else if(strstr(exp,"/")) return "/"; else if(strstr(exp,"%")) return "%"; else if(strstr(exp,"")) return "";