How is string from "..." different from string from a file ?

bearophile bearophileHUGS at lycos.com
Mon Dec 12 09:37:53 PST 2011


Timon Gehr:

> string fragString = readText( "Shader.vert" ) ~ '\0';

I think using toStringz is more self-documenting.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list