Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. using namespace std;
  4. ifstream f("f.f");
  5. ofstream g("q.q");
  6. int pr(char c)
  7. {
  8. if(c=="+"||c=="-") return 1;
  9. if(c=="*"||c=="/") return 2;
  10. if(c=="(") return 0;
  11. }
  12. int main()
  13. //muie paul
  14. {
  15. g.getline(ex,101);
  16. strcat("(",ex);
  17. strcat(ex,")");
  18. for(i=1;i<=strlen(s);i++
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement