#include #include #include // Lägg till funktionerna här int main() { std::ifstream ifs { "MACROS" }; // auto will become the type of whatever define_macros defines as the return type // so it is up to you to decide what type type this variable should be. auto macros { define_macros(ifs) }; std::string line; while (std::getline(std::cin, line)) { std::cout << expand(line, macros) << std::endl; } }