You may want to look into std::string, Minimacfox.
Then you could do the assignment operation like you originally tried. http://cplusplus.com/reference/string/
1 2 3 4 5 6 7 8 9 10 11 12 13
#include <string>
struct box {
std::string maker;
// ...
};
int main() {
box* example = new box;
example->maker = "Stark Industries";
delete example; // in C++, every "new" must have a corresponding "delete"
}