摘要:
#include <iostream> #include <cstdarg> int sum(int count, ...) {//接收数量不定的参数 if (count <= 0) return 0; va_list argList; va_start(argList, count); int sum = 0; for (int i = 0; i < count; ++i) { sum += v 阅读全文
摘要:
开始 ``` find() : Finds the first substring equal to the given character sequence find_first_of() : Finds the first character equal to one of characters 阅读全文