line 143 if (10 ==
Battery0.BatteryLife());
//if battery is
fully charged
{
void Battery::BatteryLife()
{
int a;
a = count + sount;
}
I'm creating bluetooth product. I made the ObjectName equal to 10 but still get an error "Expression must have arithmetic or unscoped enum type/ Objectname [closed]" in the first if statement. May I ask what needs change. I think I need a arithmetic expression inside the brackets on the ObjectName
Aucun commentaire:
Enregistrer un commentaire