<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=C-style_single_line_comment</id>
	<title>C-style single line comment - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://coderwiki.org/index.php?action=history&amp;feed=atom&amp;title=C-style_single_line_comment"/>
	<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=C-style_single_line_comment&amp;action=history"/>
	<updated>2026-05-19T01:41:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://coderwiki.org/index.php?title=C-style_single_line_comment&amp;diff=17&amp;oldid=prev</id>
		<title>Dylan: C-style single line comment: create</title>
		<link rel="alternate" type="text/html" href="http://coderwiki.org/index.php?title=C-style_single_line_comment&amp;diff=17&amp;oldid=prev"/>
		<updated>2025-08-08T22:10:04Z</updated>

		<summary type="html">&lt;p&gt;C-style single line comment: create&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[C-style comment|C-style comments]] can be either &amp;#039;&amp;#039;&amp;#039;single-line&amp;#039;&amp;#039;&amp;#039; or [[C-style multi line comment|multi-line]].&lt;br /&gt;
&lt;br /&gt;
Single-line comments begin with a double forward-slash &amp;lt;code&amp;gt;//&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The [[comment]] ends automatically at the end of a line.&lt;br /&gt;
&lt;br /&gt;
== Example of a C-style single-line comment ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
// this is a full-line C-style comment&lt;br /&gt;
int a = 5; // you can also place them at the end of a statement&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dylan</name></author>
	</entry>
</feed>