C++ Solution
\nclass Solution\n{\n    public:\n    int numUniqueEmails(vector<string> &emails)\n    {\n        std::unordered_set<string> s;\n        for (const auto &email 
```\nclass Solution\n{\n    public:\n    int numUniqueEmails(vector<string> &emails)\n    {\n        std::unordered_set<string> s;\n        for (const auto &email : emails)\n        {\n            s.insert(cleanupAddress(email));\n        }\n        return s.size();\n    }\n    private:\n    string cleanupAddress(const string &email)\n    {\n        int localEnd = email.find(\'@\');\n        string cleanLocal;\n        for (int i = 0; i < localEnd; ++i)\n        {\n            if (email[i] == \'+\')\n            {\n                break;\n            }\n            else if (email[i] != \'.\')\n            {\n                cleanLocal += email[i];\n            }\n        }\n        return cleanLocal + email.substr(localEnd);\n    }\n};\n```
['C', 'C++']