c++ code: class or structure: difficult to understand
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c">What are the differences between struct and class in C++</a>  </p>
</blockquote>



<p>I am looking at somebody header file for a structure, but it looks like functions are a part of this structure... so then this is a class but how to abstantiate? or use?</p>

<pre><code>struct Recording
{
    FLAG mode;  
    unsigned short intervals;   
      unsigned short saved_cycles;                                      
    virtual void SavetoFile( FILE *file, 
        bool Control, 
        PhaseData *__phaseData = NULL   
        );

    virtual bool LoadfromFile( FILE *file, 
        bool Control, 
        PhaseData *__phaseData = NULL 
        );
};
</code></pre>
