title: C and C++ linkage with extern "C"
body: <p>I have a C++ function defined in a .h file as follows and implemented in a .cpp file:</p>
  
  <pre><code>extern "C" void func(bool first, float min, float* state[6], float* err[6][6])
  {
      //uses vectors and classes and other C++ constructs
  }
  </code></pre>
  
  <p>How can I call func in a C file? How do I set up my file architecture / makefile to compile this?</p>
  
  <p>Thanks!</p>