<para> Our main function starts like this: <programlisting><codeline/></programlisting> First we create a object <computeroutput>t</computeroutput> of the <refrefid="class_test"kindref="compound">Test</ref> class. <programlisting><codeline><highlightclass="normal"><sp/>*<sp/><sp/>First<sp/>we<sp/>create<sp/>a<sp/>object<sp/>\c<sp/>t<sp/>of<sp/>the<sp/><refrefid="class_test"kindref="compound">Test</ref><sp/></highlight><highlightclass="keyword">class</highlight><highlightclass="normal">.</highlight></codeline></programlisting> Then we call the example member function <programlisting/> After that our little test routine ends. <programlisting/></para>
<para> Our main function starts like this: <programlisting><codeline><highlightclass="normal">void<sp/>main()</highlight></codeline><codeline><highlightclass="normal">{</highlight></codeline></programlisting> First we create a object <computeroutput>t</computeroutput> of the <refrefid="class_test"kindref="compound">Test</ref> class. <programlisting><codeline><highlightclass="normal"><sp/><sp/>Test<sp/>t;</highlight></codeline></programlisting> Then we call the example member function <programlisting><codeline><highlightclass="normal"><sp/><sp/>t.example();</highlight></codeline></programlisting> After that our little test routine ends. <programlisting><codeline><highlightclass="normal">}</highlight></codeline></programlisting></para>