Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- using namespace std;
- ifstream f("f.f");
- ofstream g("q.q");
- int pr(char c)
- {
- if(c=="+"||c=="-") return 1;
- if(c=="*"||c=="/") return 2;
- if(c=="(") return 0;
- }
- int main()
- //muie paul
- {
- g.getline(ex,101);
- strcat("(",ex);
- strcat(ex,")");
- for(i=1;i<=strlen(s);i++
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement