I am new to this and need some help. This program is suspose to write the assignment name, points possible, and grade in a file. Then it is suspose to display it. Later on I will need to be able to access the file so I can change some of the details but I don't know how to do that either.
#include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
int numberGrades;
char itemDescription[50];
int points[100];
int score[100];