const char *a = "12345"; for ( a; *a != NULL; a++) { cout << *a << endl; }
本文标题:c++ 遍历char*
本文链接:https://www.haomeiwen.com/subject/uyhkoltx.html
网友评论