Hi I was running on a Window computer and was getting this type of errors:  After reading posts like this one:' http://www.suodenjoki.dk/us/archive/2010/min-max.htm I added a header #include \<algorithm\> to the fastwer.cpp file and solved the problem