使用VS2019的时候会出现这样的错误 测试出错代码 #include<iostream> #include<stdio.h> #include <string.h> using namespace std; // 返回两个字符串中较长的一个 char* func(char* str1,char* str2) {