C++ how to use strcpy for a 2d array in a struct [closed]

  c++, strcpy

My compiler gives me an error when I do this:

strcpy(skin.conclusion[0], "Mel");

My struct looks like this:

struct list{
        char conclusion[10][4] = {};
    }skin;

What am I doing wrong or is there something else other than strcpy that I’m supposed to use.

Source: Windows Questions C++

LEAVE A COMMENT