1
Fork 0

Added main menu placeholder

This commit is contained in:
Jake Howard 2015-10-11 20:53:53 +01:00
parent 410f09ef6b
commit 903656f674
3 changed files with 12 additions and 9 deletions

10
src/UI/ui.cpp Normal file
View file

@ -0,0 +1,10 @@
#include <string>
#include <iostream>
namespace UI {
char[] ::mainMenu = "Hey look, it's the main menu!";
void displayMainMenu() {
std::cout << UI::mainMenu << std::endl;
}
}

View file

@ -1,7 +1,5 @@
#include <iostream>
#include "strings/strings.cpp"
#include "ui/ui.cpp"
int main() {
std::cout << getString() << std::endl;
return 0;
UI::displayMainMenu();
}

View file

@ -1,5 +0,0 @@
#include <iostream>
std::string getString() {
return "Hello World";
}