[cartesian solver]: fprintf() replaced by printf()