Class and Objects
<p>Suppose I have two classes <code>Class A</code> and <code>Class B</code>.</p>

<pre><code>class A {
    uint32 A_1;
    uint32 A_2;
    uint32 A_3;
    uint32 A_4;
} 
</code></pre>

<p><strong>First Question:</strong> How can I make the class members of class A that is <code>uint_32 A_1, A_2, A_3, A_4</code> visible to an object created from class B?</p>

<p>// Object Created from Class B is below: </p>

<pre><code>Object_B = new Class B(); 
</code></pre>

<p>My Syntax for making Class A class members visible to Class B is below for first question: </p>

<pre><code>Class A(Class B *);
</code></pre>

<p><strong>Second Question:</strong> How can I access those class members (<code>uint_32 A_1, A_2, A_3, A_4</code>) of Class A through the object I created that is: <code>Object_B</code>?</p>

<p>Below is the syntax for second question: </p>

<pre><code>Object_B-&gt;A_1;
</code></pre>

<p>Are the above syntax for two classes correct?</p>

<p>Also, please provide me some good links for class, object in C++ so that I can read through deeply. </p>
