summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
authorTrevor Bouchillon <[email protected]>2022-11-28 19:25:42 -0800
committerTrevor Bouchillon <[email protected]>2022-11-28 19:25:42 -0800
commit0ae8a79fda19a16029cc0468694962ef70dab5d7 (patch)
tree521ce301679b5e84dfd903810ab63c8ec03f2449 /BlankConsoleLab/BlankConsoleLab.cpp
parentStarting with Ch11 Debug (diff)
downloadcst116-lab3-daboochillin-0ae8a79fda19a16029cc0468694962ef70dab5d7.tar.xz
cst116-lab3-daboochillin-0ae8a79fda19a16029cc0468694962ef70dab5d7.zip
added small file
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index f590282..ea64379 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -1,3 +1,6 @@
+//Lab 3
+//Trevor Bouchillon
+
#include <iostream>
#include <fstream> // For the files!!!!
#include <iomanip> // For manipulators & formatting options
@@ -14,8 +17,8 @@ using std::ofstream;
const int EMPLOYEES = 20;
const int MAX = 21;
-string OutFileName = "C:\\TEMP\\Chap_11_ReportOut.txt";
-string InFileName = "C:\\TEMP\\Chap_11_Report.txt";
+string OutFileName = "C:\\TEMP\\smallOut.txt";
+string InFileName = "C:\\TEMP\\small.txt";
int ReadData(ifstream& inFile, ofstream& outFile, char name[][MAX], int age[]);
void WriteOutputFile(ofstream& outFile, char name[][MAX], int age[], int counter);