Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4268
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Compiling GNU Plot in Visual C++ |
| Date | 2019-11-28 18:34 +0100 |
| Message-ID | <h4aepsFesuqU1@mid.dfncis.de> (permalink) |
| References | <3797dcf2-cc3a-4a0f-995d-0c160e3bb666@googlegroups.com> |
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.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
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