我只是在学习字符数组。 据我所知,在C ++中,字符数组将空格存储为NULL。有没有办法可以用它将数组分成两个?
char Full_Name[14] = {Henry Ford};
/*how would I go about separating that into two character arrays? I have
an idea more or less, but surely there's something simple that I haven't
learned yet. */
char First_Name[7], Last_Name[7];
strcpy(First_Name, )
strcpy(Last_Name, )