From a terminal window, move into this folder and type the following commands.
g++ random_bits.cpp -o random_bits
./random_bits
g++ -std=c++11 packed_records.cpp -o packed_records
./packed_records
g++ -std=c++11 -O3 sort_bench.cpp -o sort_bench
./sort_bench 10000000