diff --git a/src/UI/ui.cpp b/src/UI/ui.cpp index c435a34..0088275 100644 --- a/src/UI/ui.cpp +++ b/src/UI/ui.cpp @@ -1,10 +1,9 @@ -#include #include namespace UI { - char[] ::mainMenu = "Hey look, it's the main menu!"; + static std::string mainMenu = "Hey look, it's the main menu!"; void displayMainMenu() { - std::cout << UI::mainMenu << std::endl; + std::cout << mainMenu << std::endl; } } diff --git a/src/main.cpp b/src/main.cpp index 2ff105b..0c7166c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,4 @@ -#include "ui/ui.cpp" +#include "UI/ui.cpp" int main() { UI::displayMainMenu();