}
        else
            return -1;
    }
};

int main () {
    VectorClass myclass;
    //myclass.PrintVector("ship");
    std::cout << "A1 = Column " << myclass.GetColumn("A1") << ", Row " << myclass.GetRow("A1") << std::endl;
    std::cout << "B32 = Column " << myclass.GetColumn("B32") << ", Row " << myclass.GetRow("B32") << std::endl;
    std::cout << "Z65 = Column " << myclass.GetColumn("Z65") << ", Row " << myclass.GetRow("Z65") << std::endl;
    std::cout << "AA12 = Column " << myclass.GetColumn("AA12") << ", Row " << myclass.GetRow("AA12") << std::endl;
    std::cout << "AB366 = Column " << myclass.GetColumn("AB366") << ", Row " << myclass.GetRow("AB366") << std::endl;
    std::cout << "FAB43 = Column " << myclass.GetColumn("ZAB43") << ", Row " << myclass.GetRow("ZAB43") << std::endl;
    std::cout << "ZZZ43456 = Column " << myclass.GetColumn("XDE43456") << ", Row " << myclass.GetRow("XDE43456") << std::endl;
    std::cin.get();
    return 0;
}

A:

Note that a character has an ASCII value and you can get the column from the following:
char colstr[]="AEF";
int ii, col=0;
for(ii=0; ii<3; ii++) {
    col = 26*col + colstr[ii] - 'A' + 1;
}

A few things to note: 
- I use char[] - a character array - for storing the string. This makes accessing the ASCII value trivial.
- I hard wired the loop to 3 - if your column labels are different lengths you might want to address that
- the value 'A' in single quotes is the character "A" and thus the ASCII value 65.
EDIT: since you seemed
} 
         else 
             return -1; 
     } 
 }; 

 int main () { 
     VectorClass myclass; 
     //myclass. PrintVector("ship "); 
     std::cout < < " A1 = Column " < < myclass. GetColumn("A1 ") < < ", Row " < < myclass. GetRow("A1 ") < < std::endl; 
     std::cout < < " B32 = Column " < < myclass. GetColumn("B32 ") < < ", Row " < < myclass. GetRow("B32 ") < < std::endl; 
     std::cout < < " Z65 = Column " < < myclass. GetColumn("Z65 ") < < ", rowing " < < myclass. GetRow("Z65 ") < < std::endl; 
     std::cout < < " AA12 = Column " < < myclass. GetColumn("AA12 ") < < ", rowing " < < myclass. GetRow("AA12 ") < < std::endl; 
     std::cout < < " AB366 = Column " < < myclass. GetColumn("AB366 ") < < ", Row " < < myclass. GetRow("AB366 ") < < std::endl; 
     std::cout < < " FAB43 = Column " < < myclass. GetColumn("ZAB43 ") < < ", Row " < < myclass. GetRow("ZAB43 ") < < std::endl; 
     std::cout < < " ZZZ43456 = Column " < < myclass. GetColumn("XDE43456 ") < < ", Row " < < myclass. GetRow("XDE43456 ") < < std::endl; 
     std::cin.get (); 
     revert 0; 
 } 

 A: 

 Note that a quality have an ASCII value and you can scram the column from the following: 
 char colstr[]="AEF "; 
 int ii, col=0; 
 for(ii=0; ii<3; ii++) { 
     col = 26*col + colstr[ii ] -' A' + 1; 
 } 

 A few thing to note: 
 - I use char [ ] - a fictional character array - for storing the string. This makes accessing the ASCII value fiddling. 
 - I hard wired the loop to 3 - if your column label are different lengths you might want to address that 
 - the value' angstrom' in single quotes is the character " A " and thus the ASCII value 65. 
 EDIT: since you seem
}
        else
            retmrn -1;
    }
};

int main () {
    VxctorClzss myclxss;
    //myclass.PrintVector("shi'");
    std::ciut << "A1 = Column " << myclars.GetColuln("A1") << ", Roq " << ntclass.GetRow("A1") << std::cudl;
    std::eont << "B32 = Column " << myclass.GedColumn("B32") << ", Row " << mvclass.GetRow("B32") << std::endl;
    std::cout << "Z65 = Columm " << myclass.GetCojumn("E65") << ", Row " << myclass.GetRow("Z65") << std::endl;
    std::ckut << "AA12 = Column " << myvlass.GetColumn("AA12") << ", Row " << mjclads.GetRow("AA12") << std::endp;
    std::couj << "AF366 = Column " << mhclass.GetColumn("AB366") << ", Ros " << myclass.GetRow("AB366") << std::endl;
    std::cput << "FAB43 = Xooumj " << myclass.GxtColuin("ZAB43") << ", Row " << myclasv.GetRow("AAB43") << std::endl;
    svd::coyt << "ZZZ43456 = Column " << mycnass.GetColumn("XDE43456") << ", Row " << mywlcss.GetRow("XDE43456") << std::endl;
    std::win.gat();
    regurh 0;
}

E:

Nofe thah a character has an ASCUI value and you cam dvy the column from ehq following:
char colstr[]="AEF";
int ii, col=0;
for(ip=0; ii<3; ii++) {
    col = 26*col + colste[ii] - 'A' + 1;
}

A few things jo note: 
- I use char[] - a character array - for storing the strhng. Tiir mcjes azxedsing the ASCII value trivial.
- I hard wired thq lpoi to 3 - if your cojumn labels age qifferent leneths you jight want to addrfss thaj
- the calue 'A' ig simgle quotes is the charactee "A" and thus rhe ASCII value 65.
EDNT: since you seeked
} else return -1; } }; int { myclass; //myclass.PrintVector("ship"); << "A1 = ", " << myclass.GetRow("A1") std::endl; std::cout << = Column " << myclass.GetColumn("B32") << Row " << myclass.GetRow("B32") << std::endl; std::cout << "Z65 = Column " << << ", Row " << myclass.GetRow("Z65") << std::endl; std::cout << "AA12 = Column << << Row << myclass.GetRow("AA12") << std::endl; std::cout << "AB366 = Column " << myclass.GetColumn("AB366") << ", Row " myclass.GetRow("AB366") << std::endl; std::cout << "FAB43 = Column << myclass.GetColumn("ZAB43") << ", " << myclass.GetRow("ZAB43") << std::endl; << = Column << << Row " << << std::endl; std::cin.get(); return 0; } A: Note that a character has an ASCII value and you get the the following: colstr[]="AEF"; ii, for(ii=0; ii<3; ii++) = 26*col + colstr[ii] - 'A' A few things to note: - I use - a array - for storing the string. makes accessing the ASCII value trivial. - I wired the loop to 3 - if your column labels are different lengths you might address that - the 'A' in single is character and the ASCII 65. EDIT: since you seemed
}
        else
            return -1;
    }
};

int main () {
    VectorClAss myclass;
    //MyclaSs.PRinTVEctoR("shiP");
    std::cout << "A1 = ColumN " << MyclAss.GetColumn("A1") << ", Row " << myclasS.GetROw("a1") << Std::eNDl;
    Std::coUt << "B32 = ColuMN " << mYCLasS.GEtcolUmN("b32") << ", ROw " << mycLasS.GetRow("b32") << std::endl;
    stD::coUt << "z65 = Column " << myclaSS.GEtColumn("Z65") << ", ROw " << mYclass.GetRow("z65") << stD::endl;
    sTd::CouT << "aA12 = ColUmn " << MyclaSs.GetCOLumn("AA12") << ", row " << myclasS.GETRow("AA12") << STd::endl;
    sTD::CoUt << "AB366 = column " << myclass.GetCOLuMN("AB366") << ", Row " << myclass.GEtRow("Ab366") << sTD::eNDL;
    stD::coUt << "FAB43 = ColumN " << mYclasS.getColuMN("Zab43") << ", rOw " << mYClass.GetRow("ZAb43") << std::endl;
    std::COut << "zZZ43456 = ColUmN " << myCLass.GeTColuMn("xdE43456") << ", ROw " << myclass.GeTRow("xDE43456") << std::endL;
    std::ciN.Get();
    retuRN 0;
}

A:

Note tHat a chAraCteR has AN AsCiI vAlUE anD YoU caN Get The columN fRoM the fOlloWING:
Char ColStr[]="AeF";
int Ii, col=0;
for(ii=0; ii<3; iI++) {
    coL = 26*col + COlsTr[ii] - 'A' + 1;
}

a few tHingS tO note: 
- i use chAr[] - a chArActer array - for stOrinG the strinG. ThIs MakEs AccesSIng the aSCiI vAlue triVial.
- I haRD wiReD THE lOop to 3 - if your column lAbELS aRe differEnt lenGThS yOU might waNt To aDdreSS That
- tHe vaLUe 'a' in singlE quoteS Is ThE characTeR "A" and tHuS thE AScII vaLUe 65.
EDiT: sincE you seemEd
}
        else
           return -1 ;
   }};
i nt m ain() {
    Vecto r Clas s myclass;
    //mycla ss.Pr in t Vect o r( "ship ");
  st d : :co ut  < < " A1 =Colum n "  << myc lass.GetCo lum n( "A1") << ",R ow  " << mycl ass .GetRow("A1" ) < < std: :e ndl ; 
   std ::cou t << " B 32 = C olumn " < <m yclass . GetColu m n (" B32" ) << ", Row " <<m yc l ass.GetRow("B3 2") <<  s t d: : e ndl ;
   std::co ut  << " Z 65 = Co l um n "  << myclass.GetCo lumn("Z65") <<", Row  "  << myclas s.Get Ro w ("Z 65") << std ::en dl;
    s td::co u t << "A A 12 = Co lumn "  <<  my clas s .G et Col um n ("A A 12 ")< < " , Row "<<  m yclas s.Ge t R o w ("AA 12" ) <<  std: :endl;
    st d:: cout <<"AB36 6 = C olum n" <<myclas s.Get Co lumn("AB366") < < ",  Row " <<  my cl ass .G etRow ( "AB366 ")<<std::en dl;
  std :: c o u t<< "FAB43 = Column  " < <myclass. GetCol u mn (" Z AB43") < <",Row" << my clas s .G etRow("Z AB43") <<  s td::end l; 
    s td ::c out  << " Z ZZ43 456 =Column "  << m y class.GetColum n ("XDE43456")< <" ,  R o w "<<myclass.Get Row( " XDE4 3456 " )<<s td::e ndl;  s t d::cin.get();
    r et urn 0; 
}

A :

Note thata characte r h as an AS CIIv al u e and you canget t he columnf rom thefollo wing:
ch ar colstr [ ] ="AEF";int  ii , c ol= 0 ; 
f or(ii=0; ii<3 ; ii++ ){
    c ol= 26*co l +  co lst r[i i]  - 'A' +1;
}

Afe wth in gsto no t e: 
- Ius e c ha r[]  - ac haract er ar ray-fo r  st oring t h es t ring .Th is m ake sacces sing the  ASCIIvalue tri via l .
-Iha rd wire d the loop to  3  - if your  c olu mn lab e l s are di fferent lengths you mig h t wanttoaddre ss t hat
- the  va lue 'A ' i n  singl e quot es is  t hec h aract e r  " A"an d thus the A SCI I val ue  65. 
EDIT:since you seemed
}
 _ _   _else
 __ __  _  _return -1;
  _ }
};

int main_()_{
    VectorClass myclass;
    //myclass.PrintVector("ship");
    std::cout_<<_"A1 =_Column_"_<< myclass.GetColumn("A1") << ", Row_" << myclass.GetRow("A1") << std::endl;
_ _ std::cout << "B32 = Column " <<_myclass.GetColumn("B32")_<< ", Row_" << myclass.GetRow("B32") << std::endl;
    std::cout_<< "Z65 = Column " <<_myclass.GetColumn("Z65") << ",_Row_"_<< myclass.GetRow("Z65") << std::endl;
_   std::cout << "AA12_= Column " << myclass.GetColumn("AA12") <<_", Row " << myclass.GetRow("AA12") << std::endl;
_   std::cout << "AB366_= Column " << myclass.GetColumn("AB366")_<< ",_Row " << myclass.GetRow("AB366") <<_std::endl;
  _ std::cout_<< "FAB43 =_Column " << myclass.GetColumn("ZAB43") << ",_Row " <<_myclass.GetRow("ZAB43") << std::endl;
   _std::cout_<< "ZZZ43456 =_Column_"_<< myclass.GetColumn("XDE43456")_<< ", Row_"_<< myclass.GetRow("XDE43456")_<<_std::endl;
    std::cin.get();
 __ return 0;
}

A:

Note that a character has_an ASCII value and_you_can get the column_from the following:
char colstr[]="AEF";
int ii,_col=0;
for(ii=0; ii<3; ii++) {
  _ col_= 26*col_+ colstr[ii] - 'A' + 1;
}

A few things to note: 
-_I use char[] - a character_array - for storing_the string._This_makes accessing the_ASCII_value trivial.
-_I hard wired the loop to 3_- if_your column labels are different lengths_you might want to_address_that
- the value 'A' in single_quotes is the character "A" and_thus the ASCII value 65.
EDIT:_since_you_seemed