title: C++ using function as parameter
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9410/how-do-you-pass-a-function-as-a-parameter-in-c">How do you pass a function as a parameter in C?</a>  </p>
  </blockquote>
  
  
  
  <p>Suppose I have a function called </p>
  
  <pre><code>void funct2(int a) {
  
  }
  
  
  void funct(int a, (void)(*funct2)(int a)) {
  
   ;
  
  
  }
  </code></pre>
  
  <p>what is the proper way to call this function? What do I need to setup to get it to work?</p>