
Stefan Hougardy Jens VygenAlgorithmic MathematicsSpringerVerlag 2016Publisher's information German version of the book 
All programs within a single .ziparchive  all.zip 
Programs's number and name  file name 
1.8 The Square of an Integer  square.cpp 
1.14 Simple Primality Test  prime.cpp 
1.18 The Sieve of Eratosthenes  sieve.cpp 
1.25 Collatz Sequence  collatz.cpp 
2.2 Base Converter  baseconv.cpp 
2.10 Rational and Harmonic Numbers  fraction.h 
2.10 Rationale Zahlen und harmonische Zahlen  harmonic.cpp 
2.11 Arbitrarily Large Integers  largeint.h 
2.11 Arbitrarily Large Integers  largeint.cpp 
2.11 Arbitrarily Large Integers  factorial.cpp 
3.8 Euclidean Algorithm  euclid.cpp 
6.25 Queue  queue.h 
6.29 Graphs  graph.h 
6.29 Graphs  graph.cpp 
6.29 Graphs  testgraph.cpp 
7.5 BreadthFirst Search  bfs.cpp 
8.5 Sorting by Successive Selection  sort.cpp 
8.18 Heap  heap.h 
8.20 Heap Sort  heapsort.cpp 
9.8 Prim’s Algorithm and Dijkstra’s Algorithm  primdijkstra.cpp 
page  line number 
error description 

63 
21 
replace 1.00269 by 0.00269 
95 
86 (in the code) 
replace BirthdayComparison
comparison(Date(Date::today)); by BirthdayComparison
comparison((Date(Date::today))); as otherwise according to the C++specification this line will be interpreted as a function declaration (e.g. the clangCompiler does it while the g++compiler does not). 