Csc 2430 lab 1 - phone calls processing - your assignment


LAB - Phone Calls Processing

Goal: Your assignment is to write a C++ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I/O manipulators, and the string class.

Submitting your code - Your solution should be contained within a single C++ file, and it must be named "PhoneCalls.cpp". Do not use precompiled headers.

Before submitting,

1) Create a new directory

2) Copy "PhoneCalls.cpp" to this new directory

3) Bring up a Developer Command Prompt for VS 2017 window.

4) Use "cd" to position yourself into this directory

5) Run the command "CL /EHsc PhoneCalls.cpp"

6) Make sure your file compiles with no warnings and errors, and links. A "PhoneCalls.exe" should be created.

7) Download the three test files "phoneLog1.txt", "phoneLog2.txt" and "phoneLog3.txt" into this directory

8) Download the three output files "output1.txt", "output2.txt" and "output3.txt" into this directory

9) Check the output your get is correct for the first test file:

a. Run your "exe" using the command "PhoneCalls.exe > myoutput1.txt". b. You won't see any output, but you will need to type in phoneLog1.txt followed by ENTER

c. Run the command "fc output1.txt myoutput1.txt". You should see a message indicating that the two files are identical.

10) Check the output your get is correct for the second test file:

a. Run your "exe" using the command "PhoneCalls.exe > myoutput2.txt".

b. You won't see any output, but you will need to type in phoneLog2.txt followed by ENTER

c. Run the command "fc output2.txt myoutput2.txt". You should see a message indicating that the two files are identical.

11) If you do the EXTRA CREDIT assignment follow the previous steps with phoneLog3.txt

When you are able to pass these tests, you are ready to submit "PhoneCalls.cpp". This is the ONLY file you should submit.

Attachment:- Assignment Files.rar

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Csc 2430 lab 1 - phone calls processing - your assignment
Reference No:- TGS02726360

Expected delivery within 24 Hours