basic interactive readf from stdin

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 26 16:20:51 PST 2015


On 12/26/2015 12:11 PM, karthikeyan wrote:

 > I read http://ddili.org/ders/d.en/input.html and inserted a space 
before %s
 > but still no use. Am I missing something here with the latest version?

The answer is nine chapters later. :) (Use readln() and strip() (or 
chomp())).

   http://ddili.org/ders/d.en/strings.html

Ali



More information about the Digitalmars-d-learn mailing list