double romanoReal(char romano[])
{
double numeroReal[300];
double contador= 0;
for(int i=0;i<300;i++)
{
char comparar=romano[i];
if(comparar =='x')
{
numeroReal[i]=100000;
}
}
return numeroReal; >>>> the error is here
}
the error is error C2440: 'return' : cannot convert from 'double [300]' to 'double'
i'm really new to c++ its the 2nd time i use it :S
don't know what im doing wrong plz heeeeeelp

New Topic/Question
Reply




MultiQuote





|