D
djake
In the stroustrup C++ programming language (third edition) i can
find example like this:
string s1= "Hello";
So I imagine string is a standard class.
Furthermore the class in the example is initialized with a
constructor like this
string::string();
The strange thing is this:
Under unixWare i've string class declared only with this
constructor:
string::string(const char* c);
This doesn't seem standard solution! How is it possible?
Why under unixware the string file contain a similar class with
invalid constructors?
Thanks in advance
find example like this:
string s1= "Hello";
So I imagine string is a standard class.
Furthermore the class in the example is initialized with a
constructor like this
string::string();
The strange thing is this:
Under unixWare i've string class declared only with this
constructor:
string::string(const char* c);
This doesn't seem standard solution! How is it possible?
Why under unixware the string file contain a similar class with
invalid constructors?
Thanks in advance