1234
char someVar[] = "11.1.0"; unsigned int m_Index; int bit1,bit0; sscanf(someVar,"%ud.%d.%d",&m_Index,&bit1,&bit0);