Recently, I read the code blow and it makes confused
 static string const dirs[6] = {"-n", "-ne", "-se", "-s", "-sw", "-nw" };
 int a = sizeof(dirs)/sizeof(*dirs);
And a will equals the size of the array, which is 6.
So my question is:
- what does sizeof(dirs) represent? Is the size of the total array? 
- what does sizeof(*dirs) represent? 
 
     
     
     
     
    