C++ struct "Incomplete type is not allowed"
<p>Does anyone know what this error means and why it is occurring when I am trying to define an array inside a struct?</p>

<pre><code>struct test{
    int idk[] = { 1,2,3 };
};
</code></pre>

<p>Why is the array idk incomplete type or something?</p>

<p>Thanks in advance. </p>

<p>Ps.
I need this so I can access these arrays from the test struct.</p>