c++ 的初学者,我有两个数组。一个是字符串,另一个是二维数组(int)。如何将艺术家分配给乐谱?
int Artistlist()
{
const int A1_SIZE = 5, A2_ROWSIZE =5, A2_COLSIZE =10;
string Artist[A1_SIZE]={ "Degas", "Holbien", "Monet", "Matisse", "Valesquez" };
int Scores[A2_ROWSIZE][A2_COLSIZE] =
{
{5,5,6,8,4,6,8,8,8,10},
{8,8,8,8,8,8,8,8,8,8},
{10,10,10,10,10,10,10,10,10,10},
{5,0,0,0,0,0,0,0,0,0},
{5,6,8,10,4,0,0,0,0,0}
};
}