// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include #include // For the files!!!! #include // For manipulators & formatting options using std::cin; using std::cout; using std::endl; using std::setw; using std::ios; using std::ifstream; using std::ofstream; int size = 5; int arr[50]; int choice = 0; void filechoice() { cout << " Which record would you like to open? Small or Large? \n 1 is large, 2 is Small" << endl; cin >> choice; } void largetext() { ifstream inFile; if (choice = 1) { ofstream outFile("C:\\TEMP\\large.txt"); inFile.open("C:\\TEMP\\large.txt"); } } void smalltext() { ifstream inFile; if (choice = 2) { ofstream outFile("C:\\TEMP\\small.txt"); inFile.open("C:\\TEMP\\small.txt"); } } int main() { filechoice(); largetext(); smalltext(); return 0; }