C++ I am having trouble with assigning a row of a dynamically 1darray to a dynamically 2d array. I have to read from a file thatcontains a group of names (students), 4 (telling how many scoreseach student will have), then the scores. The file looks likethis:
Abby 4 78 96 70 48
Billie 4 78 39 48 98
Celon 4 93 97 94 95
This is my code that I have written so far:
#include <iostream>
#include <fstream>
#include <string>
//Global Variables
const int SIZE = 10;
const int ROW = 10;
//Main Function
int main()
{
//Variables
string names[SIZE]; //To hold the students name from thefile
int count = 4; //To hold the columns number
PayPal Gateway not configured
PayPal Gateway not configured