7typedef unsigned int uint;
13void showTree(
string& output, stringstream& ss)
19 if(token ==
"+" || token ==
"-" || token ==
"*" || token ==
"/") {
26 else if(token ==
"sqrt" || token ==
"log" || token ==
"sin" || token ==
"cos") {
27 output += token +
"(";
39int main(
int argc,
char **argv)
44 ifstream infile(argv[1]);
46 cout <<
"nema fajla!" << endl;
60 std::cout << output << endl;
63 ofstream outfile(argv[2]);
64 outfile << output << endl;