How to highlight self-defined class in sublime text 3
<p>I am using sublime text 3 to code c++, and how to highlight self-defined class, struct, function in sublime text 3. <br>
Here is an example:<br>
In class.h</p>

<pre><code>Class MyClass()
{
   public:
      void func();
}
</code></pre>

<p>In class.cpp</p>

<pre><code>void MyClass::func()
{
    cout &lt;&lt; "My Class";
}
</code></pre>

<p>The function </p>

<pre><code> MyClass::func() 
</code></pre>

<p>in </p>

<pre><code>class.cpp 
</code></pre>

<p>is not highlighted.   Is there a way to do syntax highlight this?</p>