Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Let's write some code.

Name: Anonymous 2008-02-22 5:28

try {

Name: Anonymous 2008-02-26 2:48

i=""
while not i:
 print "hello world is eating your memory"

Name: Anonymous 2008-02-26 9:27

>>80
Is that in ay way related to the topic, or is it a way of saying ``I know how to quit EMACS''?

Name: Anonymous 2008-02-26 10:01

>>82
It's haskell

Name: Anonymous 2008-02-26 10:08

>>83
No, it is not. Please peove that it is Haskell indeed if you want me to believe.

Name: Anonymous 2008-02-26 13:48

>>84
data T = C
    deriving (Eq, Ord)

instance Show T where
    show C = "\ESC[1mEXPERT HASKELL PROGRAMMER\ESC[m"

instance Num T where
    fromInteger x = C
    c + x = C
    C - c = C
    x * C = C
    abs x = C
    signum c = C

x = negate

c = 42

main = print$
   
    C-x C-c

Name: Anonymous 2008-02-26 13:56

>>85
I lol'd.

Name: Anonymous 2008-02-26 14:01

>>85
I lol'd.

Name: Anonymous 2008-02-26 16:06

gay:
printf("GAY\t");
goto gay;

Name: Anonymous 2008-02-26 16:47

>>88
yes "GAY" | tr "\n" "\t"

Name: Anonymous 2008-02-26 18:24

#include <iostream>

using namespace std;

int main()

{

    float agefloat;
    cout<<"Your age? ";
    cin>> agefloat;
    cin.ignore();
    if (agefloat < 12){cout<<"\n\nYou are a child";}
    else if(agefloat < 18) {cout<<"\n\nYou are a Teenager";}
    else if(agefloat < 55) {cout<<"\n\nYou are an Adult";}
    else if(agefloat < 75) {cout<<"\n\nYou are a reletively old Adult";}
    else if(agefloat < 100){cout<<"\n\nYou are a very old adult; you have most likely exceded the estimated lifespan of your country... Kudos!";}
    else if(agefloat < 115){cout<<"\n\nYou are a exceddingly aged Adult and have ultimately exceeded the likely lifespan of a Human... Huge Kudos to you!";}
    else if(agefloat > 115){cout<<"\n\nYou are a liar!";}
    cin.get();

}






That is a quick age program thing i threw together to demonstrate C++ to my friend.

Name: Anonymous 2008-02-26 18:58

) define (lambda f x) (f x))

Name: Anonymous 2008-02-26 19:24

//============================================================================
// Name        : wxtests.cpp
// Author      : Snow Cherri Pawson
// Version     : 0.1
// Copyright   : Licenced under the GPL
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <wx/string.h>
#include <fstream>
#include <string>
using namespace std;
#include <wx/datetime.h>

int main(int argc, char **argv)
{
  wxDateTime now = wxDateTime::Now();

  wxPrintf(wxT("   Tokyo: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::GMT9).c_str());
  wxPrintf(wxT("  Moscow: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::MSD).c_str());
  wxPrintf(wxT("Budapest: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::CEST).c_str());
  wxPrintf(wxT("  London: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::WEST).c_str());
  wxPrintf(wxT("New York: %s\n"), now.Format(wxT("%a %T"),
      wxDateTime::EDT).c_str());
}

Name: Anonymous 2008-02-26 22:05

>>90
Please stop posting ugly and shitty code.

Name: Mr. Pawson 2008-02-27 0:20

>>93
This is ugly shitty code
/* This file has been generated by the Hex-Rays decompiler.
   Copyright (c) 2007 Hex-Rays sprl <info@hex-rays.com>;

   Detected compiler: GNU C++
*/

#include <windows.h>
#include <defs.h>


//-------------------------------------------------------------------------
// Data declarations

extern int dword_401900[]; // idb
extern int (*off_401904)(); // weak
extern int (*off_402020)[60]; // weak
extern char aHalp[8]; // weak
extern int dword_404020; // weak

//-------------------------------------------------------------------------
// Function declarations

// int __cdecl atexit(void (__cdecl *)()); idb
int __cdecl main(int argc, const char **argv, const char *envp); // idb
int (*__cdecl sub_401360())[60];
int __cdecl sub_4013F0();
// int printf(const char *, ...); idb


//----- (004012E0) --------------------------------------------------------
int __cdecl main(int argc, const char **argv, const char *envp)
{
  sub_4013F0();
  return printf("HALP!!!", 16);
}

//----- (00401360) --------------------------------------------------------
int (*__cdecl sub_401360())[60]
{
  int (*result)[60]; // eax@1
  int v1; // edx@2

  result = off_402020;
  if ( (*off_402020)[0] )
  {
    do
    {
      ((int (*)(void))(*result)[0])();
      v1 = (*off_402020)[1];
      result = (int (*)[60])&(*off_402020)[1];
      off_402020 = (int (*)[60])((char *)off_402020 + 4);
    }
    while ( v1 );
  }
  return result;
}

//----- (004013F0) --------------------------------------------------------
int __cdecl sub_4013F0()
{
  int ST00_4_0; // ST00_4@0
  int v1; // eax@2
  int i; // ebx@3
  char v4; // zf@7

  if ( !dword_404020 )
  {
    v1 = dword_401900[0];
    dword_404020 = 1;
    if ( dword_401900[0] == -1 )
    {
      v1 = 0;
      v4 = off_401904 == 0;
      while ( !v4 )
      {
        ++v1;
        v4 = *(&off_401904 + v1) == 0;
      }
    }
    for ( i = v1; i; --i )
      ((int (*)(void))dword_401900[i])();
    atexit((void (__cdecl *)())sub_401360);
  }
  return ST00_4_0;
}

// ALL OK, 3 function(s) have been successfully decompiled

Name: Anonymous 2008-02-27 10:48

>>90
Valid YAHT example.

Name: Anonymous 2008-02-27 10:53

>>90
What if I'm 115 years old?

Name: Anonymous 2008-02-27 13:10

>>96
the fuck are you doing on /prog/, old man?

Name: Anonymous 2008-02-27 16:11

>>97

Exactly

Name: Anonymous 2008-02-27 16:15

>>97
Terrible!

Name: Anonymous 2008-02-27 16:17

>>97
Knuth turned 320 last month.

Name: Anonymous 2008-02-27 18:14

>>100
Aha! So another /prog/rammer has been revealed.

Name: Anonymous 2008-02-27 19:18

>>101
I'm currently reading ESR's the art of unix programmer. Good stuff so far.

Name: Anonymous 2008-02-27 21:22

The three /prog/rammers:
   The Sussman
   KANUTH
   The faggot posting this. (Also >>102).

Name: Anonymous 2008-02-27 21:34

>>103
You forgot The Abelson.
Unless he was >>102.

Name: Anonymous 2009-03-06 5:35

null NULL NULL NULL   NULL NULL NULL   null null null   null null this   null null null   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   null null null   NULL NULL NULL   null null this   null null null   null null this   null null null   null null this   null null null.

Name: Anonymous 2009-03-06 8:02


The language and all   make a joke   that runs on   your w3m but   not on mine   You should be   taught how everything   is binary what   is a memory   leak when malloc   the second time   with a different   book Fun Home   by Bechdel Korean   Ink wasn t   shabby chic it   was just shabby   Jet Fuel looks   like L Auberge   du Pommier by   comparison But people   think I am   getting sick and   fed up and.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List