该代码sort有什么问题#include iostream#include cstringusing namespace std;bool cmpconst char a const char b return strcmpa b 0; strcmp函数比较两个C风格字符串的大小小于0则ab等于0则a=b大于0则abint main char a21 b21 c21; ci
该代码没有明显的问题,可以正常运行。
原文地址: https://www.cveoy.top/t/topic/bTYh 著作权归作者所有。请勿转载和采集!