Passing string literals to C

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 31 03:15:22 PST 2014


What's best practice here?

D strings are not null-terminated.

char* cpling(char *s)
{

So toString("This i


More information about the Digitalmars-d-learn mailing list