Last change
on this file since 45 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
1.4 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_1" name="Code Block 1" dirname="code_block_1" 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 1</title> |
---|
8 | <section id="code_block_1.a_code_block"> |
---|
9 | <title>A code block</title> |
---|
10 | <para> |
---|
11 | A code block with proper indentation ;-) |
---|
12 | </para> |
---|
13 | |
---|
14 | <programlisting> |
---|
15 | <phrase role="preprocessor">#include</phrase> <phrase role="special"><</phrase><phrase role="identifier">iostream</phrase><phrase role="special">></phrase> |
---|
16 | |
---|
17 | <phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> |
---|
18 | <phrase role="special">{</phrase> |
---|
19 | <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> |
---|
20 | <phrase role="keyword">return</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase> |
---|
21 | <phrase role="special">}</phrase> |
---|
22 | </programlisting> |
---|
23 | </section> |
---|
24 | </article> |
---|
Note: See
TracBrowser
for help on using the repository browser.