I have the following in one of my header files.<br>
bool GetLicense(char szLicense[]) const;<br>
<br>
In my cpp file I have the following:<br>
<br>
bFullLot = m_aRentalCars[m_nCurrentCarCount].SetLicense(RentalCar.GetLicense(char szLicense[])const;<br>
<br>
I am getting the following error<br>
<br>
error C2144: syntax error : missing ')' before type 'char'<br>
<br>
error C2660: 'GetLicense' : function does not take 0 parameters<br>
<br>
<br>
Any ideas what is asking for <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>
bool GetLicense(char szLicense[]) const;<br>
<br>
In my cpp file I have the following:<br>
<br>
bFullLot = m_aRentalCars[m_nCurrentCarCount].SetLicense(RentalCar.GetLicense(char szLicense[])const;<br>
<br>
I am getting the following error<br>
<br>
error C2144: syntax error : missing ')' before type 'char'<br>
<br>
error C2660: 'GetLicense' : function does not take 0 parameters<br>
<br>
<br>
Any ideas what is asking for <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>