#include "load.h"
#include <string>
#include <iostream>
static enum StringValue(choice)
{
choice["newgame"] = choiceNewGame;
choice["loadgame"] = choiceLoadGame;
}
When you try and compile this is the error:
load.cpp(6): error C2470: 'choice' : looks like a function definition, but there is no parameter list; skipping apparent body
I don't understand. I'm sure I have everything in the right place