Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "address.h"
- #include <iostream>
- #include <string>
- int main() {
- std::string line;
- Address * address;
- try {
- while (getline(std::cin, line)) {
- Parse(line, address);
- Unify(address);
- std::cout << Format(*address) << "\n";
- }
- }
- catch(...) {
- std::cout << "exception";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement