Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 4 and Version 5 of FileInputExample

Show
Ignore:
Author:
miasma (IP: 130.232.131.64)
Timestamp:
11/04/07 23:11:17 (14 years ago)
Comment:

fix for files with formatting strings

Legend:

Unmodified
Added
Removed
Modified
  • FileInputExample

    v4 v5  
    2222    while (!f.eof()) 
    2323    { 
    24         writefln(f.readLine()); 
     24        writefln("%s", f.readLine()); 
    2525    } 
    2626