title: C++ and gnuplot
body: <p>This is my first post and I'm quite a novice on C++ and compiling in general.</p>
  
  <p>I'm compiling a program which requires some graphs to be drawn. The program create a <em>.dat file and then i should open gnuplot and write plot '</em>.dat'. That's fine.</p>
  
  <p>Is there a way to make gnuplot automatically open and show me the plot I need? I should use some system() function in the code to call gnuplot but how can I make him plot what I need?</p>
  
  <p>Sorry for my non-perfect English :s</p>
  
  <p>Thanks for the attention anyway!</p>