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

Changes between Version 2 and Version 3 of ConsoleInputExample

Show
Ignore:
Author:
kris (IP: 67.127.58.20)
Timestamp:
04/18/07 14:12:10 (8 years ago)
Comment:

using .get instead

Legend:

Unmodified
Added
Removed
Modified
  • ConsoleInputExample

    v2 v3  
    1818{ 
    1919        Cout ("What is your name? ")(); 
    20         auto name = Cin.nextLine
     20        auto name = Cin.get
    2121        Cout ("Hello, ")(name).newline; 
    2222}