rename to cpp
fixed head read by using fread instead of fgets