I am getting the error "The expression must be of class type, but it has type unsigned char*" in the line "for (int i = 0; i < u.Values.size(); i++)".
What am I doing wrong, and how do I do it correctly?
struct udtBinaryFeatures
{
    unsigned char Values[51];
};
wstring bytefeaturestowstring(udtBinaryFeatures &u)
{
    wstring s = L"";
    for (int i = 0; i < u.Values.size(); i++) 
    {
        if (i > 0)
        {
            s += L"-";
        }
        s += unsignedchartowstring(u[i]);
    }
    return s;
}
 
    