using gnuplot-iostream.h in C++
<p>I am trying to plot data using gnuplot through a C++ program. I followed the steps from <a href="http://www.stahlke.org/dan/gnuplot-iostream/" rel="nofollow">http://www.stahlke.org/dan/gnuplot-iostream/</a> and added the headers:</p>

<pre><code>    #include "gnuplot-iostream.h"
    #include &lt;boost/tuple/tuple.hpp&gt;
</code></pre>

<p>when I compile I use</p>

<pre><code>    g++ -o Ex3_3 Ex3_3.cpp -lboost_iostreams -lboost_system -lboost_filesystem
</code></pre>

<p>I first get this error message </p>

<pre><code>    Ex3_3.cpp:18:30: fatal error: gnuplot-iostream.h: No such file or directory
    #include "gnuplot-iostream.h"
                               ^
    compilation terminated.
</code></pre>

<p>Okay, so then I get the file gnuplot-iostream.h from the folder gnuplot-iostream (which downloaded right into my working directory where the C++ code is) and moved it into my working directory. I then get this error message when that happens </p>

<pre><code>    gnuplot-iostream.h:79:54: fatal error: boost/iostreams/device/file_descriptor.hpp: 
    No such file or directory
    #include &lt;boost/iostreams/device/file_descriptor.hpp&gt;
                                                  ^
    compilation terminated.
</code></pre>

<p>So, I am not sure what to in general. I just started learning C++ a few days ago and haven't ever used github so I'm not really sure where to go next. Does the folder have to be in your home directory? A painfully clear explanation would be appreciated. </p>