Problems with strcpy

PaulS:

How should I write the pc[] array??

As a 2 dimensional array. It is up to you to determine the values of each dimension (how many records, how long is each record, for instance).

Managed to get it to work now!

char pc[4][10]={
{1},
{2},
{3},
{4}
};

did the trick :slight_smile:

Thank's for guiding me right.

/Rickard