| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> |
| <article id="code_block_1" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" |
| xmlns:xi="http://www.w3.org/2001/XInclude"> |
| <title>Code Block 1</title> |
| <section id="code_block_1.a_code_block"> |
| <title>A code block</title> |
| <para> |
| A code block with proper indentation ;-) |
| </para> |
| |
| <programlisting><phrase role="preprocessor">#include</phrase> <phrase role="special"><</phrase><phrase role="identifier">iostream</phrase><phrase role="special">></phrase> |
| |
| <phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> |
| <phrase role="special">{</phrase> |
| <phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">cout</phrase> <phrase role="special"><<</phrase> <phrase role="string">"Hello, World!"</phrase> <phrase role="special"><<</phrase> <phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">endl</phrase><phrase role="special">;</phrase> |
| <phrase role="keyword">return</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase> |
| <phrase role="special">}</phrase> |
| </programlisting> |
| </section> |
| </article> |