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

Changes between Version 2 and Version 3 of GetUserInput

Show
Ignore:
Author:
nascent (IP: 67.110.217.136)
Timestamp:
05/30/10 19:58:03 (14 years ago)
Comment:

Updated to be version agnostic.

Legend:

Unmodified
Added
Removed
Modified
  • GetUserInput

    v2 v3  
    1515        writefln("What is your name?"); 
    1616         
    17         char[] name = readln(); 
     17        string name = readln(); 
    1818         
    1919        writefln("Hello ", name);