class ARouter {
enum directions {north, neast, east, seast, south, swest, west, nwest};
static directions gon[] = {north, neast, nwest, east, west, seast, swest, south};
};
Hi, does anyone know what is the matter with the above code?
I am getting 2 errors for the second line from VC++2008Ex:
error C2059: syntax error : '{'
error C2334: unexpected token(s) preceding '{'; skipping apparent function body