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

Changes between Version 6 and Version 7 of TopicGettingStarted

Show
Ignore:
Author:
JJR (IP: 207.200.150.202)
Timestamp:
01/26/09 17:59:31 (15 years ago)
Comment:

Some fixes to continuity and flow

Legend:

Unmodified
Added
Removed
Modified
  • TopicGettingStarted

    v6 v7  
    11== Getting Started  == 
    22 
    3 (... in progress ...) 
    4  
    5 ... Need to add basic package installation instructions here ... 
     3It is time for our initial Tango foray.  Before we begin, however, we need to make sure that the Tango package is properly installed and configured.  This information is thoroughly covered in [wiki:TopicInstallTango Appendix B], so before proceeding here it would be best to follow the directions contained there.  Tango accomodates several different source building methods, therefore it is important to take a little time to familiarize ourselves with them before advancing into Tango particulars. 
    64 
    75== Some Basic Steps == 
    86 
    9 After a successfull installation, the first thing to do is trying to get our first basic steps compiled and run.  
    10  
    11 Lets first say hello to our dancing partner, the computer: 
     7In our first movement, we try a small D sample to verify that Tango is configured as expected for our system and compiler.  
    128 
    139{{{ 
    2117}}} 
    2218 
    23 This illustrates bare console output, with no fancy formatting. One could use the `Stdout` module instead, which supports quite sophisticated formatting options.  
     19This illustrates bare console output, with no fancy formatting.  
    2420 
    25 Console I/O in Tango is UTF-8 across both Linux and Win32, and conversion between various unicode representations is handled as necessary by higher level constructs such as ''Stdout'' and ''Format''
     21One could use the `Stdout` module instead, which supports quite sophisticated formatting options. Console I/O in Tango is UTF-8 across both Linux and Win32, and conversion between various unicode representations is handled as necessary by higher level constructs such as ''Stdout'' and ''Format''.  We will see this higher functionality demonstrated in later lessons
    2622 
    2723Now we also expect our computer to tell us something. In this case, we use  '''Cin.get()''' to retrieve a string from console: 
    5046dsss build mytestprogram.d 
    5147}}} 
     48 
     49Success!  We have completed the first lesson in Tango.