How to create default Zeros for this array and having it be overwritten by the while loop to display the hex value

前端 未结 0 938
逝去的感伤
逝去的感伤 2020-11-29 10:18
string Color::Hex(int value)
{
    char hexTable[] = {\'0\',\'1\',\'2\',\'3\',\'4\',\'5\',\'6\',\'7\',\'8\',\'9\',\'A\',\'B\',\'C\',\'D\',\'E\',\'F\'};

    string h         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题