I wrote a program executed it and it returned the expected output i goto modify it to work with multiple input files and now it returns garbage and crashes anyone have any idea?
-the output file is commented because i am not using it yet there are no references to it in the code that could cause issue
#include<iostream>
#include<fstream>
#include<string>
#include<iomanip>
using namespace std;
void calculationOutput(const char* inputFile);
ifstream inFile;
ofstream outFile;
char inputFile[11];
int main()
{
calculationOutput("data01.dat");
calculationOutput("data02.dat");
return 0;
}
void calculationOutput(const char* inputFile)//, const string* outputfile)