title: C++ functions in Objective C
body: <p>I am getting a bit confused how to call C++ functions in Objective C.</p>
  
  <p>I've declared my functions as:</p>
  
  <pre><code>void InitializeSearchRegistration();
  </code></pre>
  
  <p>In the header file in between the interface and end. I've then defined it in my mm file as:</p>
  
  <pre><code>void InitializeServiceRegistration()
  {
  }
  </code></pre>
  
  <p>What I am struggling with is how to define it as public to ensure other classes can see it. I've tried public but get an error. Usually C++ methods have to be declared in a class block.</p>
  
  <p>Any advice would be great.</p>