C++ Array Constructor Arguments
<p>quick question:</p>

<p>If I have a Class named something(doesn't matter) and then let's say I've something like </p>

<pre><code> int a[2];
 int b[2];

public:

classname(int a[], int b[]); // Constructor
</code></pre>

<p>In my class (private members) and I want a default constructor (mandatory) to initialize those points (a and b). I'm trying to apply something in my main like:</p>

<pre><code>int main(){

classname x({4,5},{1,10});

return 0;
 }
</code></pre>

<p>But all I get is an error saying that there's no matching constructor. I've also tried with the * instead of [] in the constructor but it doesn't seems to work anyway. I'm just missing something. I'm trying to keep it simple with basic C++. </p>

<p>Thank you.</p>