Commit 3ab7321c authored by Jake Howard's avatar Jake Howard
Browse files

Fixed namespace problems!

parent 903656f6
#include <string>
#include <iostream>
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;
}
}
#include "ui/ui.cpp"
#include "UI/ui.cpp"
int main() {
UI::displayMainMenu();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment