I have a very simple class with some char* members. Is strcat the best way to set their values?
class CImage {
public:
    CImage() {};
    char* Name;
};
void AddImage(const char* Name)
{
    CImage* img = new CImage();
    
    strcpy(img->Name, Name); // Is this correct or the best way?
}
 
     
     
    