www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/fun/jokes ed.html


From: Pavel Kharitonov
Subject: www/fun/jokes ed.html
Date: Sat, 18 Jun 2011 18:52:53 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Pavel Kharitonov <ineiev>       11/06/18 18:52:52

Modified files:
        fun/jokes      : ed.html 

Log message:
        Making g++ happy; formatting like GNU standards suggest

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/fun/jokes/ed.html?cvsroot=www&r1=1.20&r2=1.21

Patches:
Index: ed.html
===================================================================
RCS file: /web/www/www/fun/jokes/ed.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- ed.html     18 Jun 2011 16:40:00 -0000      1.20
+++ ed.html     18 Jun 2011 18:52:28 -0000      1.21
@@ -26,8 +26,22 @@
 
 <p>Another, submitted by Hunter Turcin:</p>
 <pre>
-#include &lt;iostream&gt;#include &lt;string&gt;using namespace std;
-int main() { string huh; for (;;) { getline(cin, huh); cout &lt;&lt; "?\n"; } 
return 0;}
+
+#include &lt;iostream&gt;
+#include &lt;string&gt;
+using namespace std;
+
+int
+main()
+{
+  string huh;
+  for (;;)
+    {
+      getline(cin, huh);
+      cout &lt;&lt; "?\n";
+    }
+  return 0;
+}
 </pre>
 
 <p><a href="/fun/humor.html">Other humor</a> in the GNU Humor
@@ -61,7 +75,7 @@
 <p>
 Updated:
 <!-- timestamp start -->
-$Date: 2011/06/18 16:40:00 $
+$Date: 2011/06/18 18:52:28 $
 <!-- timestamp end -->
 </p>
 </div>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]