Hello please solve my problem

hello please solve my problem

#include
#include
using namespace std;
class CPerson
{
char m_name[20];
int m_age ;
int m_gender;

public:
void set(const char* name, int age, int gender)
{
strcpy_s(m_name, sizeof(m_name), name);
m_age = age;
m_gender = gender;
}

  char* getname()
  {
    return m_name;
  }

  int getage()
    {
    return m_age;
    }

  int getgender()
  {
    return m_gender;
  }

};

class CStudent :public CPerson
{
int id;
char major[20];

public:
CStudent()
{
}
void set(const char* name, int age, int gender, int id, const char* major)
{
CPerson::set(name, age, gender);
this->id = id;
strcpy_s(this->major, sizeof(this->major), major);
}
void print()
{
cout<<“이름은:”<<CPerson::getname() <<endl;
cout<<“나이는:”<<CPerson::getage() <<endl;
cout<<“성별은:”<<CPerson::getgender() <<endl;

  cout<<"ID:"<< id <<endl;
  cout<<"전공:"<< major <<endl;
  cout<<endl;

}

};

int main()
{
CStudent s1;
s1.set(“쇠돌이”, 22, 1, 1000, “로봇조종”);
s1.print();

CStudent s2;
s2.set(“raek”, 21, 1, 10718, “미래기술학부”);
s2.print();
return 0;
}

There is a constant problem in this part of the strcpy_s.

What output are you getting, and what is the output you expect?