Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Apr 20, 2015
1 parent 32a1d68 commit 140f245
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/source/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The following program prints "Hello, World!" to the standard output.
.. literalinclude:: ../../examples/helloworld.c
:language: c
:tab-width: 4
:caption: Hello World program in C


D `doesn't have a preprocessor <http://dlang.org/pretod.html>`_.
Expand All @@ -31,15 +30,13 @@ Module ``core.stdc.stdio`` contains the ``puts`` prototype:
.. literalinclude:: ../../examples/helloworld1.d
:language: d
:tab-width: 4
:caption: Hello World program in D (C style)


Common D "Hello, World!" program based on Phobos_ looks simpler:

.. literalinclude:: ../../examples/helloworld2.d
:language: d
:tab-width: 4
:caption: Hello World program in D

Phobos is the standard runtime library that comes with the D language compiler.

Expand Down

0 comments on commit 140f245

Please sign in to comment.