vector Exercises

7.38

Use a vector of integers to solve the problem described in Exercise 7.10.

7.39

Modify the dice-rolling program you created in Exercise 7.17 to use a vector to store the numbers of times each possible sum of the two dice appears.

7.40

(Find the minimum value in a vector) Modify your solution to Exercise 7.37 to find the minimum value in a vector instead of an array.






C++ How to Program
C++ How to Program (5th Edition)
ISBN: 0131857576
EAN: 2147483647
Year: 2004
Pages: 627
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net