char array to char class step01