Course Solutions Uncategorized (Solved) : C Trouble Assigning Row Dynamically 1d Array Dynamically 2d Array Read File Contains Group Q32812397 . . . .

(Solved) : C Trouble Assigning Row Dynamically 1d Array Dynamically 2d Array Read File Contains Group Q32812397 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post