diff options
Diffstat (limited to 'devdocs/gcc~13/c_002b_002b-comments.html')
| -rw-r--r-- | devdocs/gcc~13/c_002b_002b-comments.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/gcc~13/c_002b_002b-comments.html b/devdocs/gcc~13/c_002b_002b-comments.html new file mode 100644 index 00000000..e3ec1d4a --- /dev/null +++ b/devdocs/gcc~13/c_002b_002b-comments.html @@ -0,0 +1,6 @@ +<div class="section-level-extent" id="C_002b_002b-Comments"> <div class="nav-panel"> <p> Next: <a href="dollar-signs" accesskey="n" rel="next">Dollar Signs in Identifier Names</a>, Previous: <a href="function-prototypes" accesskey="p" rel="prev">Prototypes and Old-Style Function Definitions</a>, Up: <a href="c-extensions" accesskey="u" rel="up">Extensions to the C Language Family</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="section" id="C_002b_002b-Style-Comments"><span>6.41 C++ Style Comments<a class="copiable-link" href="#C_002b_002b-Style-Comments"> ¶</a></span></h1> <p>In GNU C, you may use C++ style comments, which start with ‘<samp class="samp">//</samp>’ and continue until the end of the line. Many other C implementations allow such comments, and they are included in the 1999 C standard. However, C++ style comments are not recognized if you specify an <samp class="option">-std</samp> option specifying a version of ISO C before C99, or <samp class="option">-ansi</samp> (equivalent to <samp class="option">-std=c90</samp>). </p> </div><div class="_attribution"> + <p class="_attribution-p"> + © Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br> + <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C_002b_002b-Comments.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C_002b_002b-Comments.html</a> + </p> +</div> |
