Hi,
I created a member file name "ConverterA" but it keep saying has no member. Please help me in this situation. What does it mean?
class Resistance
{
private:
string ColorA[9], ColorB[10], ColorC[12], ColorD[12];
int Resistances, Tolerance;
public:
int SelectedOP2();
int Option();
int ConverterA(string);
int ConverterB(string);
int ConverterD(string);
int Converter(string);
string ConverterD(int);
};
// assuming that everything is declared and defined
int main()
{
colorA = A.ConverterA(Color[0]); // from here to "ConverterD" it keeps saying "no member named"
colorB = A.ConverterB(Color[1]);
colorC = A.Converter(Color[2]);
colorD = A.ConverterD(Color[3]);
}
Thank you in advance