Changes between Version 5 and Version 6 of FilecopyExample
- Timestamp:
- 03/01/10 18:20:01 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FilecopyExample
v5 v6 9 9 10 10 private import tango.io.Console, 11 tango.io. FileConduit;11 tango.io.device.File; 12 12 13 13 void main (char[][] args) 16 16 { 17 17 // open a file for reading 18 auto fc = new File Conduit(args[1]);18 auto fc = new File (args[1]); 19 19 20 20 // stream directly to console 22 22 } 23 23 else 24 Cout ("usage is: filecopy filename") ;24 Cout ("usage is: filecopy filename").newline; 25 25 } 26 26