Code:
#include
#include
using std::cout;
using std::endl;
//Begin Class
class CWebLink
{
private:
char *pWebLink,
*pAddress,
*pDomain,
*pDisplayText;
public:
//Constructor
CWebLink(char *newAddress=NULL,
char *newDomain=NULL,
char *newDisplayText=NULL);
//Copy
CWebLink(const CWebLink&);
//Deconstructor
CWebLink::~CWebLink();
//Create GetLink Function
const char * GetLink() const;
void SetAddress(char*);
void SetDomain(char*);
void SetDisplayText(char*);
//Overload
CWebLink& operator=(const CWebLink&);
};
//End Class