Advertisement
Pandarec13

1111

Dec 18th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include"polinom.h"
  4. #include <map>
  5. using namespace std;
  6.  
  7. int main(){
  8. setlocale(LC_ALL, "");
  9. string first;
  10. string second;
  11. multimap<int, string> mapp;
  12.  
  13.  
  14.  
  15. first = entry(&mapp);
  16. //second = entry(&mapp);
  17.  
  18. system("cls");
  19. cout << "Первое выражение равно : ";
  20. cout << first << endl;
  21. cout << "Второе выражение равно : ";
  22. cout << second << endl;
  23. for (auto it = mapp.begin(); it != mapp.end(); it++) {
  24. cout << it->first << " " << it->second << endl;
  25. }
  26.  
  27.  
  28. system("pause");
  29. return 0;
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement