title: Plotting lines in C++
body: <p>I have code to solve 2D truss structures implemented in C++ (as a console application).
  I would like to add some simple graphics to it in order to visualize the initial structure and the deformed form. Example: <a href="http://people.rit.edu/pnveme/VenkatCOMSOL42/COMSOLTruss2D/ExtractingInfoinMATLAB_01.png" rel="nofollow noreferrer">http://people.rit.edu/pnveme/VenkatCOMSOL42/COMSOLTruss2D/ExtractingInfoinMATLAB_01.png</a></p>
  
  <p>But I have no idea of how to add graphics in any way. How can I implement this kind of graphics?</p>
  
  <hr>
  
  <p>Cross platform (preferred) or windows.</p>