code organization in c++
<p>I have a class that spans over two files. It is declared in a <strong>declare.h</strong> file and defined in <strong>define.cpp</strong> file.</p>

<p><strong>define.h</strong></p>

<pre><code>class A{
    public: int a;
            void func(){ a = some_other_func(); }
             A();
};
</code></pre>

<p><strong>define.cpp</strong></p>

<pre><code>A::A(){
    a =0;
}
</code></pre>

<p>The overall idea is to initialize a variable in constructor before using it in an inline function. But the constructor definition and function definition are in different files. Is there any issue with this?    </p>
