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

Changes between Version 1 and Version 2 of StructConstructorsExample

Show
Ignore:
Author:
nascent (IP: 67.110.217.136)
Timestamp:
05/31/10 18:17:52 (11 years ago)
Comment:

Updated to use writef

Legend:

Unmodified
Added
Removed
Modified
  • StructConstructorsExample

    v1 v2  
    2222int main() { 
    2323  Foo x = Foo(10); 
    24   printf("%d\n", x.a); 
     24  writef("%d\n", x.a); 
    2525  return 0; 
    2626}