From: kemal asad <asad@cl...> - 2004-01-18 16:32:42
I would like to put the following in the records.
thanks to :
Hans-Bernhard Broeker <broeker@...>.
here is a working solution to drive gnuplot Version 3.7 patchlevel 3.
on windows2K built with VC6.0.
// consol.cpp : Defines the entry point for the console application.
using namespace std;
if ( (chkdsk = _popen( "pgnuplot.exe", "wrt")) !=
fputs("plot sin(x)\n", chkdsk);
fflush(chkdsk); //Works perfectly now
system("pause"); //needed otherwise gnuplot closes when
//the console app ends to fast to see anything