www-commits
[Top][All Lists]
Advanced

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

www/fun/jokes declarations.html


From: Yavor Doganov
Subject: www/fun/jokes declarations.html
Date: Tue, 21 Aug 2007 16:19:47 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Yavor Doganov <yavor>   07/08/21 16:19:46

Modified files:
        fun/jokes      : declarations.html 

Log message:
        Added more declarations by Pietro Gagliardi (Closes: RT #341430);
        templated.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/fun/jokes/declarations.html?cvsroot=www&r1=1.8&r2=1.9

Patches:
Index: declarations.html
===================================================================
RCS file: /web/www/www/fun/jokes/declarations.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- declarations.html   3 May 2007 22:48:17 -0000       1.8
+++ declarations.html   21 Aug 2007 16:19:19 -0000      1.9
@@ -1,29 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<TITLE>Funny C/C++ Declarations! - GNU Project - Free Software Foundation 
(FSF)</TITLE>
-<LINK REV="made" HREF="mailto:address@hidden";>
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000" 
VLINK="#9900DD">
-
-<H3>Funny C/C++ declarations!</H3>
-
-<A HREF="/graphics/gleesons.html"><IMG SRC="/graphics/gleeson_head.jpg"
-   ALT=" [colorful rounded image of the Head of a GNU]"
-   WIDTH="153" HEIGHT="128"></A>
-
-[ <A HREF="/fun/jokes/declarations.html">English</A>
-| <A HREF="/fun/jokes/declarations.ko.html">Korean</A>
-]
+<!--#include virtual="/server/header.html" -->
+<title>Funny C/C++ Declarations! - GNU Project - Free Software Foundation 
(FSF)</title>
+<!--#include virtual="/server/banner.html" -->
+<h2>Funny C/C++ declarations!</h2>
       
-<HR>
-
-<PRE>
 <!-- When using this boilerplate, remember to replace the
      "JokeTITLE" in both places above.
      And if it's a song, not a joke, change that word in the Disclaimer.
 -->
+<pre>
 auto accident;
 register voters;
 static electricity;
@@ -82,58 +66,154 @@
 }
 
 class dismissed : public annoyance    /* Submitted by Juan Carlos Castro */
-</PRE>
-
-<HR>
-
-<P>
-<A HREF="/fun/humor.html">Other humor</A>
-in the GNU Humor Collection.
+</pre>
 
+<p>The following was submitted by Pietro Gagliardi:</p>
 
-<H4>Disclaimer</H4>
+<pre>
+/* All this was done on August 17, 2007 by Pietro Gagliardi
+   You are free to use this code in a citation or (if you have the guts)
+   in your own program; just please mention me. */
+
+typedef int number;
+class microsoft : public corporation, public enemy<(number) 1> {
+public:
+       microsoft()
+       {
+               sanity = 200;
+               bill_gates = drop_out();
+               ceo = bill_gates;
+               while (sanity > 2) {
+                       sleep(2);
+                       sanity--;
+               }
+               steve_ballmer = new class doofus;
+       }
+
+#define our int
+#define SUCCESS 1
+
+       our year_2006_goals()
+       {
+               delete bill_gates;
+               ceo = steve_ballmer;
+               sanity -= 200;
+               return SUCCESS;
+       }
+protected:
+       int sanity;
+       class doofus ceo, bill_gates, steve_ballmer;
+};
+
+typedef int iq;
+const iq of_steve_ballmer = -4, of_steve_jobs = MENSA_MINIMUM - 1,
+         of_linus_torvalds = MENSA_MINIMUM, of_bill_gates = UNDEFINED;
+
+/* Here are some that make use of the preprocessor and the Unix programming 
interface */
+#include <sys/types.h>
+
+#define middle
+middle class businessMan {
+       ino_t want_to_go_to_work;
+#if speeding_to_work_because_you_are_late
+       off_t o_jail;
+#endif
+};
 
-The joke on this page was obtained
-from the FSF's
-<A HREF="http://mail.gnu.org/";>email archives</A>
-of the GNU Project.
-<BR>
-The Free Software Foundation claims no copyrights on this joke.
-
-<P>
-<!--
-  * If needed, change the copyright block at the bottom. In general, all pages
-    on the GNU web server should have the section about verbatim copying. 
Please
-    do NOT remove this without talking with the webmasters first.
--->
-
-<HR>
-
-<P>
-Return to <A HREF="/home.html">GNU's home page</A>.
+class mate
+{
+       ino_t wannagotoskool;
+};
 
-<P>
-Please send FSF &amp; GNU inquiries &amp; questions to 
-<A HREF="mailto:address@hidden";><EM>address@hidden</EM></A>.
-There are also <A HREF="http://www.fsf.org/about/contact.html";>other ways to
-contact</A> the FSF.
-
-<P>
-Please send comments on these web pages to
-<A HREF="mailto:address@hidden";><EM>address@hidden</EM></A>,
-send other questions to
-<A HREF="mailto:address@hidden";><EM>address@hidden</EM></A>.
-<P>
-Copyright &copy; 1999, 2001, 2002, 2005, 2006 Free Software Foundation, Inc.,
-51 Franklin St, Fifth Floor, Boston, MA  02110-1301,  USA
-<P>
-Verbatim copying and distribution of this entire article is
+class woman {
+#define be
+private:
+       be friend class of_girls;
+       off_t o_the_mall()
+       {
+               for (;;)
+                       mall.go_to(rand()).shop();
+       }
+};
+
+class clown {
+!friend class teacher;
+friend class mate;
+};
+</pre>
+
+<div class="infobox">
+<h4 id="Disclaimer">Disclaimer</h4><p>The joke on this page was
+obtained from the FSF's <a href="http://lists.gnu.org/";>email
+archives</a> of the GNU Project.</p>
+<p>The Free Software Foundation claims no copyright on this joke.</p>
+</div>
+
+</div>
+
+<!--#include virtual="/server/footer.html" -->
+<div id="footer">
+
+<p>
+<a href="/fun/humor.html">Other humor</a> in the GNU Humor
+Collection.</p>
+
+<p>
+Please send FSF &amp; GNU inquiries to 
+<a href="mailto:address@hidden";><em>address@hidden</em></a>.
+There are also <a href="/contact/">other ways to contact</a> 
+the FSF.
+<br />
+Please send broken links and other corrections or suggestions to
+<a href="mailto:address@hidden";><em>address@hidden</em></a>.
+</p>
+
+<p>
+Please see the 
+<a href="/server/standards/README.translations.html">Translations
+README</a> for information on coordinating and submitting
+translations of this article.
+</p>
+
+<p>
+Copyright &copy; 1999, 2001, 2002, 2005, 2006, 2007 Free Software
+Foundation, Inc.,</p>
+<address>51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA</address>
+<p>Verbatim copying and distribution of this entire article is
 permitted in any medium, provided this notice is preserved.
-<P>
+</p>
+
+<p>
 Updated:
-<!-- hhmts start -->
-$Date: 2007/05/03 22:48:17 $
-<!-- hhmts end -->
-<HR>
-</BODY>
-</HTML>
+<!-- timestamp start -->
+$Date: 2007/08/21 16:19:19 $
+<!-- timestamp end -->
+</p>
+</div>
+
+<div id="translations">
+<h4>Translations of this page</h4>
+
+<!-- Please keep this list alphabetical. -->
+<!-- Comment what the language is for each type, i.e. de is German. -->
+<!-- Write the language name in its own language (Deutsch) in the text. -->
+<!-- If you add a new language here, please -->
+<!-- advise address@hidden and add it to -->
+<!--  - /home/www/bin/nightly-vars either TAGSLANG or WEBLANG -->
+<!--  - /home/www/html/server/standards/README.translations.html -->
+<!--  - one of the lists under the section "Translations Underway" -->
+<!--  - if there is a translation team, you also have to add an alias -->
+<!--  to mail.gnu.org:/com/mailer/aliases -->
+<!-- Please also check you have the 2 letter language code right, cf. -->
+<!-- <URL:http://www.w3.org/WAI/ER/IG/ert/iso639.htm> -->
+<!-- Please use W3C normative character entities. -->
+
+<ul class="translations-list">
+<!-- English -->
+<li><a href="/fun/jokes/declarations.html">English</a>&nbsp;[en]</li>
+<li><a 
href="/fun/jokes/declarations.ko.html">&#xd55c;&#xad6d;&#xc5b4;</a>&nbsp;[ko]</li>
+</ul>
+</div>
+</div>
+</body>
+</html>




reply via email to

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