Who Nestles Poell ?

Personal thoughts & tale of a Caviteño blogger on entertainment, people, technology, his career, travels, projects, successes & failures.
  • rss
  • Home
  • Archives
  • Contact

repost : Basic Computer Programming for Today’s Politicians

November 16, 2005
Here’s a basic computer program for the politicians of today, expressed in different computer languages:

C Language
#include <stdio.h>
int main()
{
   printf("Hello, Garci!\n");
   return 0;
}

C++
#include <iostream>
using namespace std;
int main()
{
   cout << "Hello, Garci!" << endl;
   return 0;
}

C#
public class WireTapGate
{
   public static void Main()
   {
      System.Console.WriteLine("Hello, Garci!");
   }
}

Pascal
program WireTapGate;

begin
  writeln(’Hello, Garci!’);
end.

Java
 import java.awt.*;
 public class WireTapGate
 {
      public static void main(String[] args)
      {
         System.out.println("Hello, Garci!");
      }
 }

Perl
#!/usr/bin/perl
use strict;
use warnings;
my %hash = (wiretapgate => ‘Hello, Garci!’);
my $stmt = $hash{wiretapgate};
print "$stmt\n";

Visual Basic
Option Explicit
Public Sub Form1_Load()

    MsgBox "Hello, Garci!"

End Sub

Visual Basic .NET
Imports System
Module WireTapGate
   Sub Main()
       Console.WriteLine("Hello, Garci!")
   End Sub
End Module

ASP
<%
     Response.Write "Hello, Garci!<br />"
%>

PHP
<?php
     echo "Hello, Garci!<br />";
?>

SQL
SELECT ‘Hello, Garci!’ AS WireTapGate;

JavaScript
<script type="text/javascript">
<!–
    var wireTapGate = "Hello, Garci!";

    alert(wireTapGate);
//–>
</script>

Windows API
#include <windows.h>
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
  MessageBox(NULL, "Hello, Garci!", "Message", MB_OK);
  return 0;
}

*nix Shell Script
#!/bin/sh
WIRETAPGATE="Hello, Garci!"
echo $WIRETAPGATE

x86 Assembler
.model small
.stack
.data
message   db "Hello, Garci!", 0D, 0A, "$"
.code

main   proc
   mov   ax,seg message
   mov   ds,ax
   mov   ah,09
   lea   dx,message
   int   21h

   mov   ax,4c00h
   int   21h
main   endp
end main

Markup Languages

HTML
<html>
    <head>
<title>Wiretapgate</title>
</head>
<body>
Hello, Garci!
</body>
</html>

XML
<?xml version="1.0"?>
<WireTapGate>
    <Statement>Hello, Garci!</Statement>
</WireTapGate>

Comments
2 Comments »
Categories
Et cetera
Comments rss Comments rss
Trackback Trackback

Recent Posts

  • Your theme does not support customization
  • Lucky
  • Imagine a world without Filipinos
  • Watch Pacquiao vs Diaz LIVE Free
  • there’s something about number 9
  • Headshot Clinic Phnom Penh, Cambodia 06.07.08
  • Ally, My HP 520 Notebook
  • my sincere thank you on my 26th birthday
  • Transaction failed because has no funding sources (10210)
  • 8th on the 9th

Flickr Pro

www.flickr.com
This is a Flickr badge showing items in a set called Stacie Orrico live in Phnom Penh Cambodia - qb goes LIVE (public photos). Make your own badge here.

Wishlist

  • OTL (One True Love!)
  • Baby Boy
  • Baby Girl
  • Laptop
  • A New Laptop
  • World Peace
  • Sony PSP Slim
  • LCD TV
  • SLR Camera
  • Handy Cam
  • Limkokwing Scholarship
  • Microsoft XBOX or
  • Sony PS3
  • Trip to Disneyland Hong Kong
  • Trip to Malaysia
  • Trip to Singapore
  • Trip to Thailand
  • Trip to LA

    And More!
     
I got paid at BlogToProfit
Click to join. Id appreciate if you place
NESTLEPOELL@GMAIL.COM
as your referral. Thanks and goodluck!

PI Now

ituloy angsulong ng pilipinas

Recent Comments

  • Deyan: doesent work for me. I edited the file with dreamweaver suce...
  • wnydjypugejx: ...
  • fransoa: thank you so much for advising us about the copy/paste troub...
  • Chris: never mind about the Archives, i found the plugin. By the w...
  • Chris: Thanks a lot for the summary, i tried yesterday to uppdate t...

Favorites

  • Geeks Are Sexy
  • Pinoy Money Talk
  • RetzTV
  • Retzwerx
  • Skinny Celebrities
  • Talentado

Friends and Fans

  • Bethel G.
  • Bianca Gonzales
  • Chelay
  • Chele’s Multiply
  • Fionixe
  • Gab’s Christian Blog
  • Jaja Rivera
  • Jayson Vega
  • Lynn J.
  • niña corpuz
  • onin’s page
  • paula peralejo
  • syahwinda.com

Link Exchange

  • Health Online Guide

membership / affiliations

  • Cavitehub
  • Knights of the Web
  • Philweavers
  • Technews ISAW

Phil. Blogosphere

  • Andreana “Dredre” L.
  • Cursed Ciel
  • Fictures by Abesamis
  • Lloyd Lopez
  • Lord Art
  • Manilenya
  • Marhgil A. Macuha
  • P365D
  • Ramsey Ramos
  • TechJunction

Projects

  • G21 Magazine
  • Gandang Pinay
  • Hotel Cambodiana
  • Imperial Garden Hotel
  • Takilya Project
  • Technoville

Most Viewed

  • Peekvid Alternative : More Free-to-watch movie sites - 175,000 views
  • Leap Frog IQ Test - 134,746 views
  • Controversial Juniper Nip Slip at Wowowee May 12 2007 Episode - 117,677 views
  • Movie Sites Like Peekvid - 48,535 views
  • Irreplaceable Male Version Lyrics - 33,481 views
  • Folks at MyBlogLog

    Powered By

    Technoville.net - Hosting that rocks!
    rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox