Using gnuplot on CPP