Changing the values of constant parameters in a program when we call this program in the other program
<p>I have a c++ program. In the beginning of this program I have defined some parameters like this and I am using these parameters in my code, lets call it: "first.cpp";</p>

<pre><code>#define column  6    //number of columns in the mat1
#define row  5     //number of rows in the mat1 
int main(){
...
}
</code></pre>

<p>Now I want to execute this "first.cpp" program in another program named "second.cpp".
Does anyone knows how can I call first.cpp in second.cpp and what should I do for the initialization of those 2 above parameters (column &amp; row) in the second.cpp ? 
Actually, I want to run a c++ program(first.cpp) in another program(second.cpp) for several times and in each time I want to change the values of (column &amp; row), how it could be possible? ...
in fact, I have:</p>

<pre><code>#define column  6    
#define row  5   
int func1(int a[][column],int b[][row]);  
int main(){
...
}
</code></pre>

<p>As you see I am defining a 2d array as an argument in func1 and according to the c rules it is necessary that I use some value for the second dimension. That is why I am defining these parameters before main()... and because of some limitation I don't like to define 2d array with pointers...that was the reason...</p>