Re: Problems with MemoryStream

2011-01-24 Thread Ali Çehreli
Tobias Pankrath wrote: Hello, I just got my hands on a copy of TDPL and I like the book and D is very promising. But I run into problems with the easiest of program. I just want to write to and from a stream, just the way it is possible with C++ stringstreams. But this program produces an empty

Re: Problems with MemoryStream

2011-01-23 Thread Jonathan M Davis
On Saturday 22 January 2011 14:32:18 Tobias Pankrath wrote: > Hello, > > I just got my hands on a copy of TDPL and I like the book and D is very > promising. But I run into problems with the easiest of program. I just > want to write to and from a stream, just the way it is possible with > C++ str

Problems with MemoryStream

2011-01-22 Thread Tobias Pankrath
Hello, I just got my hands on a copy of TDPL and I like the book and D is very promising. But I run into problems with the easiest of program. I just want to write to and from a stream, just the way it is possible with C++ stringstreams. But this program produces an empty line as output. /** beg