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

Changes between Version 3 and Version 4 of ScanfExample

Show
Ignore:
Author:
jcc7 (IP: 192.149.244.9)
Timestamp:
01/05/07 20:04:34 (14 years ago)
Comment:

added work-around for HTMLization error

Legend:

Unmodified
Added
Removed
Modified
  • ScanfExample

    v3 v4  
    1818 
    1919  writef("Pick a number: "); 
    20   scanf("%lf", &n); 
     20  scanf("%lf", & n); 
    2121 
    2222  writefln("You picked: %s", n); 
    2424} 
    2525}}} 
     26 
     27 
     28== Sample Batch File == 
     29 
     30{{{ 
     31@echo off 
     32set pgm=ScanfExample 
     33dmd %pgm%.d 
     34%pgm%.exe 
     35pause 
     36erase %pgm%.obj 
     37erase %pgm%.map 
     38}}} 
     39 
     40== Tested Versions == 
     41 
     42Tested with Digital Mars D Compiler v1.0 on Windows 2000.