dmd 178 changes

Ant duitoolkit at
Sun Dec 10 21:33:54 PST 2006

ok, I jump a few releases and missed a lot of discussions...

this isn't valid anymore:

	 * get the C version of command line in the format char**
	static char** getCommandLine(char[][] args)
		// Walter version from a post on the D news group
		char** argv = new char*[args.length];
		int i = 0;
		foreach (char[] p; args)
			argv[i++] = cast(char*)p;
		return argv;

how to we do the
char** argv = new char*[args.length];
&((new char*[args.length])[0]);


More information about the Digitalmars-d-learn mailing list