„C++ / GUI “ Exercise 23 1 std::sort 2 integral revisited

Transcrição

„C++ / GUI “ Exercise 23 1 std::sort 2 integral revisited
„C++ / GUI “
Exercise 23
1 std::sort
1. use std::sort instead of own sort function to sort your vectors. What are iterators?
2. Sort only the first half of the vector.
3. sort the second half of the vector backwards.
4. macht die vector-Ausgabe mit for_each.
2 integral revisited
Is it possible to use for_each for the integration excersice? If yes, how?
Have fun!
1