#include <iostream>
#include <fstream>
using namespace std;
void namefile(ifstream & infile);
void openfile(ifstream & infile);
void displayScores(int scores);
void getData(ifstream & infile, int scores[], int & size);
int main()
{
}
void nameFile(ifstream & infile)
{
cout << "enter the file name";
cin >> infile;
}
void openfile(ifstream & infile)
{
ifstream infile;
infile.open (std::ifstream & infile);
}
void getData(ifstream & infile, int scores[], int & size)
{
int i = 0;
while (infile)
{
infile >> scores;
i++;
}
}
void displayScores(int scores)
{
cout << scores;
}
ox99racer 0 Newbie Poster
William Hemsworth 1,339 Posting Virtuoso
siddhant3s 1,429 Practically a Posting Shark
tux4life 2,072 Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.