好的,所以我有一个string并且想要分割它并将其部分返回到一个字符串数组中。 这是我的代码: // import std.algorithm;
string include = "one,two,three";
string[] paths = splitter(include,",");
这将引发一个错误:Error: cannot cast from Result to strin
我在Ubuntu Server 12.04.4 LTS x64上安装了dmd的全新安装。当我尝试编译一个简单的“你好,世界!”程序中,我得到以下错误: dmd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
嗯....