Hi,

I'm trying to use string pointers within a class, but when I run de-bugger, I get an access violation from the line where I initialize the object. Here is a shortened version of my class:

class Employee
{
string *sName;
string *sNumber;
public:
Employee()
{
*sName = "Doe, John"; // access violation
*sNumber = "0000"; // This would be too, but
} // don't get this far.
};

Thanks,
David