X-Received: by 2002:a05:620a:2193:: with SMTP id g19mr15992567qka.317.1575661012890; Fri, 06 Dec 2019 11:36:52 -0800 (PST) X-Received: by 2002:aca:1903:: with SMTP id l3mr13764052oii.16.1575661012739; Fri, 06 Dec 2019 11:36:52 -0800 (PST) Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!g89no667445qtd.0!news-out.google.com!w29ni306qtc.0!nntp.google.com!g89no667429qtd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 6 Dec 2019 11:36:52 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=128.76.37.163; posting-account=roetWwoAAACxqlbNXlJq3RfEkcYDEJjj NNTP-Posting-Host: 128.76.37.163 References: <3797dcf2-cc3a-4a0f-995d-0c160e3bb666@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <342f2aac-bb20-49d3-8e2c-3503d8110fda@googlegroups.com> Subject: Re: Compiling GNU Plot in Visual C++ From: Citizen Smith Injection-Date: Fri, 06 Dec 2019 19:36:52 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 31 Xref: csiph.com comp.graphics.apps.gnuplot:4271 On Thursday, November 28, 2019 at 5:34:53 PM UTC, Hans-Bernhard Br=C3=B6ker= wrote: > Am 27.11.2019 um 15:23 schrieb Citizen Smith: >=20 > > 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. >=20 > You really don't want to do that. Particularly not while you're still > learning the programming language. >=20 > 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. >=20 > 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 Hans-Bernhard I appreciate what you are saying but it would be nice to get sorted for the= long term. Considering how many people start out on Visual Studio, it wou= ld help an awful lot of people out if a GNUPlot Solution file were availabl= e. Could this be provided in future? I appreciate your reply - thanks a lot! Cheers, Paul