请帮忙看看相加函数调用的问题怎么办啊,谢谢,在线急

#include
#include
#define size 100
using namespace std;
class Mystring
{
public:
char str[size] = "\0";

void string_add(char a[],char b[]);

};
void Mystring::string_add(char a[],char b[])
{
strcat_s(a,b);
cout < }
int main()
{
Mystring mystring;
char a[size],b[size], ch1[size], ch2[size];
int n;
cout cin >> b;
cin >> a;
mystring.string_add(a,b);

system("pause");
return 0;

}

strcat_s函数有三个参数,你用的只有两个参数。直接用strcat函数应该就行了。
如果有帮助,希望采纳,谢谢

还是不可以,2017版的说不安全此函数strcat,strcat_s函数有三个参数咋弄啊,不是两个参数相加吗