Verify experimentally that
Use a timing method of your choice. The simplest is probably the Unix command time:
> time your_program arguments
The three container adaptors stack, queue and priority_queue are implemented on top of a sequence.
You and your friends often borrow money from each other. For each of your transactions (loan or payback), you write a line in a file containing the name of your friend (single word) and the sum (positive if you got money and negative if you gave money). For example:
Ann 20 Bob -50 Ann -10
Write a program that reads the file (hint: while (cin >> name >> sum)) and outputs your balance with each of your friends. For example:
Ann 10 Bob -50
Present a plan for your programming project
The plan should be detailed enough for estimating the difficulty. You will receive further advice based on the plan.
Present the plan on paper or by sending email before the exercises. The format is free.
The plan does not affect the grading of the project, but a timely return of the plan counts as an exercise.