Here's a minimal little template (checked):
import std.stdio;
void main()
{
auto f = File("outfile.txt", "w");
f.writefln("%s World", "Hello");
f.close();
}
2010/10/6 Denis Koroskin <2kor...@gmail.com>
> On Wed, 06 Oct 2010 22:43:42 +0400, Dr. Smith wrote:
>
> This
Submitted *Issue 4883 <http://d.puremagic.com/issues/show_bug.cgi?id=4883>
*
On Fri, Sep 17, 2010 at 4:30 PM, Steven Schveighoffer
wrote:
> On Fri, 17 Sep 2010 17:15:31 -0400, Seth Hoenig
> wrote:
>
> I have these two minimal programs:
>>
>>
>
I have these two minimal programs:
import std.string;
void main()
{
string str = "abc";
int i = str.count("ab");
}
and:
import std.string;
import std.algorithm;
void main()
{
string str = "abc";
int i = str.count("ab");
}
The only difference is line 2, where I import st
I have a program which does a bit of scanning through files, and right now
I'm running into issues where std.File.isfile() is reporting sockets as
files, which is problematic, because sockets cause segfaults when I try to
read them.
This is the output of ls -lha on the directory with the socket: