Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 5 and Version 6 of FilecopyExample

Show
Ignore:
Author:
erpe (IP: 89.247.76.212)
Timestamp:
03/01/10 18:20:01 (5 years ago)
Comment:

0.99.9 - compat

Legend:

Unmodified
Added
Removed
Modified
  • FilecopyExample

    v5 v6  
    99 
    1010private import  tango.io.Console, 
    11                 tango.io.FileConduit
     11                tango.io.device.File
    1212 
    1313void main (char[][] args) 
    1616           { 
    1717           // open a file for reading 
    18            auto fc = new FileConduit (args[1]); 
     18           auto fc = new File (args[1]); 
    1919 
    2020           // stream directly to console 
    2222           } 
    2323        else 
    24            Cout ("usage is: filecopy filename")
     24           Cout ("usage is: filecopy filename").newline
    2525} 
    2626