[Issue 511] Various problems in the documentation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 18 05:04:24 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=511
------- Comment #21 from smjg at iname.com 2006-11-18 07:04 -------
(In reply to comment #11)
> Created an attachment (id=54)
--> (http://d.puremagic.com/issues/attachment.cgi?id=54&action=view) [edit]
> Listing for www.digitalmars.com/d/ctod.html
`PROBLEM:
Under "Formatted printing", the D code uses "import stdio;" which
hasn't
compiled for a very long time: use "import std.stdio".`
I don't think "import stdio;" has ever worked. The std package was established
long before std.stdio was invented.
Moreover, it should be pointed out that printf shouldn't be mentioned at all
under "The D way". To repeat the C way before giving the real D solution is
inconsistent with the format of the rest of the page and the other conversion
pages.
--
More information about the Digitalmars-d-bugs
mailing list