English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

class Name
{
public: char* name;

public: Name (char* name)
{
this-> name = name;
}
public:

2007-03-20 09:37:16 · 1 answers · asked by Mi H 1 in Computers & Internet Programming & Design

1 answers

It defines a class called Name, with a property called name, and a constructor that takes a string value and sets the name property to that value.

2007-03-20 10:09:30 · answer #1 · answered by Rex M 6 · 0 0

fedest.com, questions and answers