Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include "address.h"
  2. #include <iostream>
  3. #include <string>
  4.  
  5. int main() {
  6.     std::string line;
  7.     Address * address;
  8.     try {
  9.         while (getline(std::cin, line)) {
  10.             Parse(line, address);
  11.             Unify(address);
  12.             std::cout << Format(*address) << "\n";
  13.         }
  14.     }
  15.     catch(...) {
  16.         std::cout << "exception";
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement