#include <unordered_map>
#include <string>
#include <iostream>

int main() {
    std::unordered_map<std::string, std::string> pages;

    auto it = pages.find("/missing_article");
    if (it == pages.end()) {
        std::cout << "File not found.";
        return 404;
    }
    return 200;
}

For more C++ By Example, click here.