I've got some errors of type "expected primary-expression before 'int' "in my main function. What's wrong?
<pre><code>#include &lt;iostream&gt;

using namespace std;

const double PI = 3.14;

void ReadinputData(int&amp; a, int&amp; b){

cout &lt;&lt; " Give me the height of the Cylinder: ";
cin &gt;&gt; a ;
cout &lt;&lt; " Give me the radious of its base: ";
cin &gt;&gt; b ;

}


void ComputetheResults(int a,int b,int &amp;x,int &amp;y){

x= 2*PI*b*a;
y= PI*a*b*b;

}

void DisplayAnswers(int a, int b){

cout&lt;&lt; "the surface are of the cylinder is: "&lt;&lt; a&lt;&lt; endl;
cout&lt;&lt; "the volume of the cylinder is: "&lt;&lt; b &lt;&lt; endl;

}


int main()
{
int h,r,A,V;
h=0;
r=0;
A=0;
V=0;
ReadinputData(int h, int r);
ComputetheResults(int h,int r,int &amp;A,int &amp;V);
DisplayAnswers(int A,int V);

}
</code></pre>

<p>The errors are the following:</p>

<p>-------------- Build: Debug in eeee ---------------</p>

<p>Compiling: main.cpp
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp: In function ‘int main()’:
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:39:15: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:39:22: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:40:19: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:40:25: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:40:31: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:40:38: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:41:16: error: expected primary-expression before ‘int’
/home/vaios/Desktop/ertt/eeeeee/eeee/main.cpp:41:22: error: expected primary-expression before ‘int’
Process terminated with status 1 (0 minutes, 0 seconds)
8 errors, 0 warnings</p>
