Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4270

Re: Compiling GNU Plot in Visual C++

Newsgroups comp.graphics.apps.gnuplot
Date 2019-12-06 11:30 -0800
References <3797dcf2-cc3a-4a0f-995d-0c160e3bb666@googlegroups.com> <h4aepsFesuqU1@mid.dfncis.de>
Message-ID <988a2e2a-e1ed-483a-9e66-a8d79df7e1cf@googlegroups.com> (permalink)
Subject Re: Compiling GNU Plot in Visual C++
From Citizen Smith <paul.sweeneyok@gmail.com>

Show all headers | View raw


On Thursday, November 28, 2019 at 5:34:53 PM UTC, Hans-Bernhard Bröker wrote:
> Am 27.11.2019 um 15:23 schrieb Citizen Smith:
> 
> > I am learing to program in C++ and looking for a charting package to
> > compile with my projects.  I can Compile GNU Plot using the Makefile
> > but wish to include the source files in my project then compile in
> > Visual C++ with my own program calling GNU Plot from within a common
> > executable file.
> 
> You really don't want to do that.  Particularly not while you're still
> learning the programming language.
> 
> gnuplot is already equipped to be run from the outside, by sending it
> commands from another program.  You don't need to include it into your
> own program; you don't even have to compile gnuplot yourself, as this
> works just fine with the ready-made executables.
> 
> The key is the concept of a "pipe", which you use to send commands from
> your own program to gnuplot.  Look up "popen" in your compiler's library
> documentation.

OK thanks Hans - I appreciate your reply!

Cheers, Paul

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Compiling GNU Plot in Visual C++ Citizen Smith <paul.sweeneyok@gmail.com> - 2019-11-27 06:23 -0800
  Re: Compiling GNU Plot in Visual C++ Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2019-11-28 18:34 +0100
    Re: Compiling GNU Plot in Visual C++ Citizen Smith <paul.sweeneyok@gmail.com> - 2019-12-06 11:30 -0800
    Re: Compiling GNU Plot in Visual C++ Citizen Smith <paul.sweeneyok@gmail.com> - 2019-12-06 11:36 -0800

csiph-web