Chapter 8: Searching, Extracting, and Archiving
Data
Exercise 8.a: Using grep, find, and regular expressions
(Objective...
Chapter 8: Searching, Extracting, and Archiving
Data
Exercise 8.a: Using grep, find, and regular expressions
(Objective 3.2)
Linux Distribution: Fedora (non-root
user & password needed)
Desktop Environment: GNOME 3
1. If you have not
already done so, boot up your computer (or virtual machine) to
start the Fedora Linux distribution.
2. When the machine has
booted up, access the tty2 virtual terminal by pressing
Ctrl+Alt+F2.
3. Log on to a regular
user’s account by typing in the username at the...
1) A single die is rolled twice. The set of 36 equally likely
outcomes is {(1,...
1) A single die is rolled twice. The set of 36 equally likely
outcomes is {(1, 1), (1, 2), (1, 3), (1, 4), (1,
5), (1, 6), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (3, 1),
(3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (4, 1), (4, 2), (4,
3), (4, 4), (4, 5), (4, 6), (5, 1), (5, 2), (5, 3), (5, 4), (5, 5),
(5, 6), (6, 1), (6, 2), (6,...
Vectors of structs containing vectors, searching, and
sorting.
This program will serve to keep track of...
Vectors of structs containing vectors, searching, and
sorting.
This program will serve to keep track of people’s purchase
records. Specifically: Create a struct type that will represent a
purchase record , where each PurchaseRecord has a name (a string
that may contain blank spaces), the number of purchases (1-8), the
total cost of all of the purchases combined, and a vector of the
individual costs for each purchase (maximum of 8 doubles). Create a
vector of an unknown number of...