|
Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> |
|---|
| 3 | <article id="code_block_2" name="Code Block 2" dirname="code_block_2" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" |
|---|
| 4 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
|---|
| 5 | <articleinfo> |
|---|
| 6 | </articleinfo> |
|---|
| 7 | <title>Code Block 2</title> |
|---|
| 8 | <section id="code_block_2.a_code_block"> |
|---|
| 9 | <title>A code block</title> |
|---|
| 10 | <para> |
|---|
| 11 | A code block with proper indentation ;-) |
|---|
| 12 | </para> |
|---|
| 13 | <para> |
|---|
| 14 | |
|---|
| 15 | <programlisting> |
|---|
| 16 | <phrase role="preprocessor">#include</phrase> <phrase role="special"><</phrase><phrase role="identifier">iostream</phrase><phrase role="special">></phrase> |
|---|
| 17 | |
|---|
| 18 | <phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> |
|---|
| 19 | <phrase role="special">{</phrase> |
|---|
| 20 | <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> |
|---|
| 21 | <phrase role="keyword">return</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase> |
|---|
| 22 | <phrase role="special">}</phrase> |
|---|
| 23 | </programlisting> |
|---|
| 24 | </para> |
|---|
| 25 | </section> |
|---|
| 26 | </article> |
|---|
Note: See
TracBrowser
for help on using the repository browser.