title: How do I load a shared object in C++?
body: <p>I have a shared object (a so - the Linux equivalent of a Windows dll) that I'd like to import and use with my test code. </p>
  
  <p>I'm sure it's not this simple ;) but this is the sort of thing I'd like to do..</p>
  
  <pre><code>#include "headerforClassFromBlah.h"
  
  int main()
  {
      load( "blah.so" );
  
      ClassFromBlah a;
      a.DoSomething();
  }
  </code></pre>
  
  <p>I assume that this is a really basic question but I can't find anything that jumps out at me searching the web.</p>