blob: f8fcf68f373a02f3f3fe413a2321e55950eb0e02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
//////////////////////////////////////////////
// RUNS FOR PROBLEM #2 ON PAGE 337 ARE BELOW
//////////////////////////////////////////////
//////////////////////////////////////////////
// RUNs FOR PROBLEM #3 ON PAGE 337 ARE BELOW
//////////////////////////////////////////////
============================================
Basic text file reader
(with line counter and character counter)
=============================================
Input file name (including extension): TextFile.text
ERROR: Unable to open file with name 'TextFile.text'
C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 8816) exited with code 1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
============================================
Basic text file reader
(with line counter and character counter)
=============================================
Input file name (including extension): TextFile.txt
1 This is the first sentence, hello. [34]
2 This is the second sentence, awesome! [37]
3 This is the third sentence, it's a doozy. [41]
4 This is the fourth sentence, lovely? [36]
5 This is the fifth sentence, bye [31]
C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 11800) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
//////////////////////////////////////////////
// RUNS FOR PROBLEM #4 ON PAGE 337 ARE BELOW
//////////////////////////////////////////////
|