equal
deleted
inserted
replaced
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html> |
|
2 <head> |
|
3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
4 <meta http-equiv="Content-Style-Type" content="text/css" /> |
|
5 <meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
|
6 <title>C++ Comments</title> |
|
7 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
8 </head> |
|
9 <body bgcolor="#FFFFFF"> |
|
10 <h3>C++ Comments</h3> |
|
11 <p>(ISO C, §6.4.9) The C compiler can accept C++ comments (<span class="code">//</span>) in source code. C++ comments consist of anything that follows <span class="code">//</span> on a line.</p> |
|
12 <p class="listing"> a = b; // This is a C++ comment</p> |
|
13 <p>To use this feature, disable the <a href="../pragmas/p_ANSI_strict.htm">ANSI Strict</a> setting.</p> |
|
14 <p>See also <a href="c_std_conformity.htm">Checking for Standard C and Standard C++ Conformity</a>. |
|
15 </p> |
|
16 <div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
17 |
|
18 |
|
19 </body> |
|
20 </html> |