|
@ -16,7 +16,6 @@ const char* qalculate(const char* input, bool exact_mode) { |
|
|
} |
|
|
} |
|
|
Output = c->calculateAndPrint(Input,2000,default_user_evaluation_options); |
|
|
Output = c->calculateAndPrint(Input,2000,default_user_evaluation_options); |
|
|
delete c; |
|
|
delete c; |
|
|
std::cout << Output << std::endl; |
|
|
|
|
|
char * output = new char [Output.length()+1]; |
|
|
char * output = new char [Output.length()+1]; |
|
|
Output.copy(output,Output.length()); |
|
|
Output.copy(output,Output.length()); |
|
|
output[Output.length()] = "\0"[0]; |
|
|
output[Output.length()] = "\0"[0]; |
|
|