Linked by Owen Anderson on Mon 19th Apr 2004 05:43 UTC
General Development For years the development scene has been dominated by the C family of languages, primarily C itself and its immediate successor C++. Recent years have given rise to other C-descendents, however, such as Sun's Java and Microsoft's C#.
Permalink for comment
To read all comments associated with this story, please click here.
RE: Then use a pointer
by Marcus Sundman on Wed 28th Apr 2004 20:51 UTC

> A string is always a string in this language.

Yes, as it should be.

> [nonsense such as "null string" removed]
> use a string pointer. Then you can assign it null or to
> a sting. Not a very ugly work around is it?

You are right. That is indeed not very ugly. It does require you to design your functions that way, but I guess that's OK in most cases.