These fields are all pointers to strings, put but your passing in a string to them. You're missing one indirection here. You dereference the myClass pointer to get the field, now you need to dereference that field also. Or just change them to strings and not pointers to strings.
We just told you, field1 (and the others) are just pointers to strings. They aren't strings themselves, so you can't assign a string to it. Either change the type of the fields to std::string, or derefence the field before assigning to it.
is that the field1 pointer will become invalid when myString goes out of scope.
EDIT:
On another note, you probably don't need to use string pointers in your class. It would probably be advised not to. There's no need to them to be allocated on the heap.
It also looks like the OP made an object with the same name as the class, although not illegal - I wouldn't recommend doing that because it can be too confusing.
Otherwise, the OP may not have known about having to create an object to call class functions.
The source code is just a snippet for educational purpose only.
As ResidentBiscuit said: "now you need to dereference..." and with the example provided by Zereo std::string* field1; I finally understand the concept.