That's what I gathered from googling around but when I add #include <cstdio> to the top of the reads.cpp file I get this in another file: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
Wrong compilation flag? Sorry, cpp is not really my cup of tea...