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

Pages: 1-4041-

Am I doin it rite?

Name: Anonymous 2007-03-08 16:11 ID:ko8I8fKq


#!/usr/local/bin/python
inc=0
length=int(raw_input("How long is looooooongcat?\n"))
print "    ^_____^            \n"
print "   /       \           \n"
print "  |  #    # |          \n"
print "  \     @   |          \n"
print "   \   _|_ /           \n"
print "   /       \________   \n"
print "  / ________  ___   \  \n"
print "  | ________   \ \__/  \n"
print "   |        \__/       \n"
while inc<length:
    print "    |        |        \n"
    inc=inc+1
print "   /          \        \n"
print "  /   ______   \       \n"
print "  |  /      \  |       \n"
print "  | |        | |       \n"
print " /  |        |  \      \n"
print " \__/        \__/      \n"

Name: Anonymous 2007-03-08 16:52 ID:xBOBHiBj

#!/usr/local/bin/python
length=int(raw_input("How long is looooooongcat?\n"))
print "    ^_____^            \n"
print "   /       \           \n"
print "  |  #    # |          \n"
print "  \     @   |          \n"
print "   \   _|_ /           \n"
print "   /       \________   \n"
print "  / ________  ___   \  \n"
print "  | ________   \ \__/  \n"
print "   |        \__/       \n"
print "    |        |         \n" * length
print "   /          \        \n"
print "  /   ______   \       \n"
print "  |  /      \  |       \n"
print "  | |        | |       \n"
print " /  |        |  \      \n"
print " \__/        \__/      \n"

Name: Anonymous 2007-03-08 17:43 ID:ko8I8fKq

>>2
I am such a noob

Name: Anonymous 2007-03-08 18:09 ID:cZvZjxiC

>>1
as long as you're doing it in Python, you're made of pure fail. "Use the right tool..."

Name: Anonymous 2007-03-08 19:26 ID:Heaven

That looks more like a dog than a cat.

Name: Anonymous 2007-03-08 19:36 ID:idHoJWVq

One word. Forced indentation of code. Thread over.

Name: Anonymous 2007-03-09 4:00 ID:KtND+z7V

>>4
?


#include <iostream>

using namespace std;

main(void)
{

int x;
int y=0;

cout << "How long is looooooongcat?" << endl;
cin >> x;

cout << "    ^_____^            \n";
cout << "   /       \           \n";
cout << "  |  #    # |          \n";
cout << "  \     @   |          \n";
cout << "   \   _|_ /           \n";
cout << "   /       \________   \n";
cout << "  / ________  ___   \  \n";
cout << "  | ________   \ \__/  \n";
cout << "   |        \__/       \n";
while (x > y)
{
cout << "    |        |        \n";
y++
}
inc=inc+1
cout << "   /          \        \n";
cout << "  /   ______   \       \n";
cout << "  |  /      \  |       \n";
cout << "  | |        | |       \n";
cout << " /  |        |  \      \n";
cout << " \__/        \__/      \n";

return 0;

}

Name: Anonymous 2007-03-09 4:54 ID:Heaven

>>7
FREEBASOC OR GTFO

Name: Anonymous 2007-03-09 7:21 ID:jvBQhkPR

Shittest cat ever

Name: Anonymous 2007-03-09 7:24 ID:jvBQhkPR

Dim Cat As Long

Name: Anonymous 2007-03-09 8:04 ID:W0Wo2WSi

Dim Spongebob as Float

Name: Anonymous 2007-03-09 8:12 ID:KtND+z7V

>>8
Did you mean: FREEBASIC

Name: Anonymous 2007-03-09 12:53 ID:jvBQhkPR

Dim Universe as String[]

Name: Anonymous 2007-03-09 16:05 ID:Sfawp5NN

Dim Baby As New Born

Name: Anonymous 2007-03-09 19:33 ID:sSK8jwY7

>>15
NEEDS MORE IF GOTO

Name: Anonymous 2007-03-09 21:11 ID:zEUcxpeE

>>17
LINKING TO THE FUTURE!!!!!

Name: Anonymous 2007-03-09 22:50 ID:KtND+z7V

>>16
BEHOLD THE FAGGOTS OF TIMES PAST!

Name: Anonymous 2007-03-10 5:40 ID:RB+hzbsa

>>16
A LINK TO THE FUTURE AM I RITE

Name: Anonymous 2007-03-15 3:44 ID:3H3GLybN

One word. The forced intendentation of code.

Name: Anonymous 2007-03-15 3:47 ID:aUloM46x

>>19
Thread over!

Name: Anonymous 2007-03-15 3:53 ID:3H3GLybN

>>20 += "!!!!!!111111111one111111one11111111";

Name: Anonymous 2007-03-15 5:11 ID:NGj5wRD1

>>1
>>2
>>7

I for one think you did a great job, and I like humorous programs.
So it's your choice between four free internets or two units of 'drug'!

Name: Anonymous 2007-03-15 5:39 ID:Heaven

YOU ARE A FUCKING PIECE OF SHIT, THIS HAS BEEN REPOSTED ON /b/.
(YEAH PROG IN MY /b/ THATS RITE)
ANYWAYS IT'S A PIECE OF SHIT, IT'S OK POSTING SHIT ON /b/ BUT IT'S NOT OK ON /prog/ SO GTFO AND LEARN SOME PROGRAMMING LANGUAGE FOR REAL MEN. (like Haskell)

Name: Kyatto 2007-03-15 11:42 ID:kSDYLfDG

//Longcat for Visual Studio 2005 C++
#include <iostream>   //Includes input/output library
using namespace std;  //Removes need for std:: all the time

int longcat = 0;      //User input length of Longcat

int main()  //Main Function - required
{

cout << "How long is Looooooooongcat!?"  //Message output to user
cin >> longcat;  //User input

//Longcat image displayed on screen - cuter than before
//Head
cout << "    ^_____^            \n";
cout << "   /       \           \n";
cout << "  |  @    @ |          \n";
cout << "  \     v   |          \n";
cout << "   \   _|_ /           \n";
cout << "   /       \________   \n";
cout << "  / ________  ___   \  \n";
cout << "  | ________   \ \__/  \n";
cout << "   |        \__/       \n";

//Mid-section
for( int c = 0 ; c <= longcat ; c++)  //For loop - will output the mid-section of Longcat for as many units as stated by the user
{
cout << "    |        |         \n";  //Midsection to be output
} //End For Loop

//Legs
cout << "   /          \        \n";
cout << "  /   ______   \       \n";
cout << "  |  /      \  |       \n";
cout << "  | |        | |       \n";
cout << " /  |        |  \      \n";
cout << " \__/        \__/      \n";

//Post "Press any key to continue . . ."
system("PAUSE");  //Prevents program from closing as soon as everything has been output

return 0;  //Exits program
} //Close int main()

Name: Anonymous 2007-03-15 11:47 ID:zSuo+UAd

Commenting code is for fags.

Name: Anonymous 2007-03-15 11:48 ID:9KXxodmk

>>24
Fail for:
- Global variable
- Useless comment clutter
- C++
- "Visual Studio 2005" C++
- system("PAUSE");

Name: Kyatto 2007-03-15 11:57 ID:Fm0uEk5/

Fixed! Now with NO errors OR Warnings :D and in the Longcat colours too! maybe if /r/ I'll make the cat white and the back black, but not atm

//Longcat for Visual Studio 2005 C++
#include <iostream>   //Includes input/output library
using namespace std;  //Removes need for std:: all the time

int main()  //Main Function - required
{
    system("COLOR F8");        //Changes background colour to white and text colour to gray
    int longcat = 0;        //User input length of Longcat
    cout << "How long is Looooooooongcat!?";  //Message output to user
    cin >> longcat;            //User input

    //Longcat image displayed on screen - cuter than before

    //Head
    cout << "    ^_____^            \n";
    cout << "   /       \\           \n";
    cout << "  |  @    @ |          \n";
    cout << "  \\     v   |          \n";
    cout << "   \\   _|_ /           \n";
    cout << "   /       \\________   \n";
    cout << "  / ________  ___   \\  \n";
    cout << "  | ________   \\ \\__/  \n";
    cout << "   \\        \\__/       \n";

    //Mid-section
    for( int c = 0 ; c <= longcat ; c++)        //For loop - will output the mid-section of Longcat for as many units as stated by the user
    {
        cout << "    |        |         \n";    //Midsection to be output
    }//End For Loop

    //Legs
    cout << "   /          \\        \n";
    cout << "  /   ______   \\       \n";
    cout << "  |  /      \\  |       \n";
    cout << "  | |        | |       \n";
    cout << " /  |        |  \\      \n";
    cout << " \\__/        \\__/      \n\n";

    cout << "Longcat is... LOOOOOONG\n";

    //Post "Press any key to continue . . ."
    system("PAUSE");    //Prevents program from closing as soon as everything has been output

    return 0;    //Exits program
} //Close int main()


Enjoy!

Name: Anonymous 2007-03-15 11:58 ID:zSuo+UAd

Pure Ansi C is the true meaning of life.



#include <stdio.h>

int main()
{
  int counter;
  int size;
  printf("How long is looooongcat ? ");
  scanf("%i",&size);
  printf("\n    ^_____^            \n");
  printf("   /       \\           \n");
  printf("  |  #    # |          \n");
  printf("  \\     @   |          \n");
  printf("   \\   _|_ /           \n");
  printf("   /       \\________   \n");
  printf("  / ________  ___   \\  \n");
  printf("  | ________   \\ \\__/  \n");
  printf("   |        \\__/       \n");

  for(counter=0;counter<size;counter++)
  {
    printf("    |        |        \n");
  }

  printf("   /          \\        \n");
  printf("  /   ______   \\       \n");
  printf("  |  /      \\  |       \n");
  printf("  | |        | |       \n");
  printf(" /  |        |  \\      \n");
  printf(" \\__/        \\__/      \n");

return 0;
}

Name: Anonymous 2007-03-15 12:00 ID:zSuo+UAd

>>27

Code not portable, useless comments, C++ sucks.

Name: Anonymous 2007-03-15 12:19 ID:Fm0uEk5/

if you are NOT using WINDOWS... go fuck yourself Windows or you're a furfag, honestly, c'mon srsly guys

Name: Anonymous 2007-03-15 12:20 ID:gwzEKR7W

...Jesus was an extraterrestrial.

Name: Kyatto 2007-03-15 12:21 ID:kSDYLfDG

>>25
Fuck you

>>26
Suck my cock - i wrote it in the chat box with no compiler, read the Fixed one fuckhead

Name: Anonymous 2007-03-15 12:21 ID:bKmh2ZAC

>>28
-fail for absence of arguments in main
-fail for using printf just to display strings (puts is here for this task, moron)
-fail for your naive use of scanf (enter whatever the fuck instead of what it is waiting for and see your program fails endlessly)
-fail at life, kill yourself

Name: Anonymous 2007-03-15 12:28 ID:zSuo+UAd

>>33

arguments in main are optional, dickhead.
Using printf for strings is a way to do it, just like puts does.

As for scanf, who gives a shit, if you're stupid enough to not understand when to enter a number...

Name: BoultA 2007-03-15 12:30 ID:TIOkGyFS

some real constructive comments guys

Name: Anonymous 2007-03-15 12:31 ID:9KXxodmk

>>34
The user is not necessarily a human being. Scripts need longcats too.

Name: Anonymous 2007-03-15 12:34 ID:nxdbkCiM

FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS FRENCH IS FOR FURFAGS ~Desu

Name: Anonymous 2007-03-15 12:46 ID:bKmh2ZAC

>>34
"arguments in main are optional, dickhead."
Yes, in old crap C and for lazy coders.

"As for scanf, who gives a shit, if you're stupid enough to not understand when to enter a number..."
Since your program doesn't tell the user what the fuck he has to enter, you are the only dumbass here.

Name: Anonymous 2007-03-15 12:51 ID:zSuo+UAd

"Since your program doesn't tell the user what the fuck he has to enter, you are the only dumbass here."

Well the user is a 4chaner, so he actually knows what the code is about.

"Yes, in old crap C and for lazy coders."

A coder IS lazy. And old C is the best.

Name: Anonymous 2007-03-15 12:55 ID:bKmh2ZAC

Oh, and I forgot this one :
"Using printf for strings is a way to do it, just like puts does."
You didn't get my point. Of course it is and it's not "that" bad, but using printf just to display constant strings is like using a machine gun to kill a mosquito. puts is one of these functions in the C standard library that aren't yet bloated as death and shitty, so let's using it.

Name: Anonymous 2007-03-15 13:33 ID:2kvYIUHN

module Main where
 
 longcat n =
        ["\n     ^_____^            ",
         "    /       \\           ",
         "   |  #    # |          ",
         "   \\     @   |          ",
         "    \\   _|_ /           ",
         "    /       \\________   ",
         "   / ________  ___   \\  ",
         "   | ________   \\ \\__/  ",
         "    |        \\__/       ",
         unlines . tail $ replicate n
         "    |        |           ",
         "   /          \\        ",
         "  /   ______   \\       ",
         "  |  /      \\  |       ",
         "  | |        | |       ",
         " /  |        |  \\      ",
         " \\__/        \\__/      "] 

 userInteract = (. ((putStrLn .) . (. read))) .
                (>>=) . (>> getLine) . putStr

 main = userInteract "How long is longcat?"
                     (unlines . longcat)
 

Can someone help me? I can't seem to get rid of the empty line in the middle...

Name: Anonymous 2007-03-15 14:05 ID:9r+M76Oj


#!/usr/bin/env perl
print "How long is looooooongcat?\n";
chomp(my $lenght = <STDIN>);
print "    ^_____^            \n";
print "   /       \           \n";
print "  |  #    # |          \n";
print "  \     @   |          \n";
print "   \   _|_ /           \n";
print "   /       \________   \n";
print "  / ________  ___   \  \n";
print "  | ________   \ \__/  \n";
print "   |        \__/       \n";
print "    |        |         \n" for 1..$lenght;
print "   /          \        \n";
print "  /   ______   \       \n";
print "  |  /      \  |       \n";
print "  | |        | |       \n";
print " /  |        |  \      \n";
print " \__/        \__/      \n";

Name: Anonymous 2007-03-15 14:39 ID:Fa0Isyx1

that doesn't really look like long cat, but ASCII cat is ASCIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

Name: Anonymous 2007-03-15 14:43 ID:nxdbkCiM

DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~
DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~DESU~

Name: Anonymous 2007-03-15 15:15 ID:9r+M76Oj

Needs more PERL-ish. >>42 is way to pythonic.


#!/usr/bin/env perl
use strict; #follow best practices
use warnings;
print "How long is looooooongcat?\n";
chomp(my $l = <STDIN>);

my $c = "    ^_____^            \n   /       \          
  |  #    # |         
  \     @   |          \n   \   _|_ /           \n   /       \________  
  / ________  ___   \  \n  | ________   \ \__/  \n   |        \__/      
    |        |         \n   /          \        \n  /   ______   \      
  |  /      \  |       \n  | |        | |       \n /  |        |  \     
 \__/        \__/      \n";

my @cat_part = map { (/(^\s+\|\s+\|\s+$)/) ?
            [$_, sub{ print @_ for 1..$l }]
            : [$_, sub{ print @_ } ];
} split "\n", $c;

foreach (@cat_part) {
    my $s = pop @{$_};
    &$s(@{$_}, "\n");
}

Name: Anonymous 2007-03-15 16:22 ID:yIaXqa4C

use strict; #follow best practices

lol so it's the same as shell( 'python' ); exit;

Name: Anonymous 2007-03-15 17:14 ID:lBotmpW+

>>45
Needs more string multiplication operator! (x)

Name: Anonymous 2007-03-15 17:22 ID:+W2OALdG

My old girlfriend from college used to fart when ever she felt like it. Even if we were in public, she'd just let one rip and not give a damn. She was kind of a tomboy, but only in her actions.

Anyway, this one time when we were having sex she farted so loud that she pooped on the bed sheets. She was so embarrassed and ending up crying... but the reason why she cried wasn't because she pooped on the sheets, it was because I couldn't stop laughing at her. In fact, I laughed to the point where I started to fart like a machine gun. I couldn't stop myself.

So, in the end, she broke up with me because she felt I wasn't "mature" enough to handle her "mature" farts.

Name: Anonymous 2007-03-15 20:02 ID:lmYe6t5i

>>48
I'm sexually aroused from your story.

Name: Anonymous 2007-03-15 21:28 ID:KiHY9adU

>>48
This is not your invitation:

http://www.lost.eu/2fea9

Name: Anonymous 2007-03-15 22:32 ID:2ypAs0DZ

>>1
You're not doing it right because it's python, it's an automatic failure.

#include <stdio.h>

int main(int argc, char *argv[])
{
long length = 0;
long i=0;
scanf("%ld",&length);
printf("    ^_____^            \n");
printf("   /       \\           \n");
printf("  |  #    # |          \n");
printf("  \\     @   |          \n");
printf("   \\   _|_ /           \n");
printf("   /       \\________   \n");
printf("  / ________  ___   \\  \n");
printf("  | ________   \\ \\__/  \n");
printf("   |        \\__/       \n");
for(i=0;i<length;i++)
{
printf("    |        |        \n");
}
printf("   /          \\        \n");
printf("  /   ______   \\       \n");
printf("  |  /      \\  |       \n");
printf("  | |        | |       \n");
printf(" /  |        |  \\      \n");
printf(" \\__/        \\__/      \n");
printf("longcat is l");
for(i=0;i<length;i++)
{
printf("o");
}
printf("ng\n");
system("PAUSE");
return 0;
}

Fear the power of ANSI C.

Name: Anonymous 2007-03-16 4:06 ID:Pf8QjnIb

system("PAUSE");

Automatic failure. Also already done.

Name: Anonymous 2007-03-16 7:10 ID:f877EdeU

Dim as Long cat, i
Input "How long is longcat? "; cat

Print "    ^_____^            "
Print "   /       \           "
Print "  |  #    # |          "
Print "  \     @   |          "
Print "   \   _|_ /           "
Print "   /       \________   "
Print "  / ________  ___   \  "
Print "  | ________   \ \__/  "
Print "   |        \__/       "
For i = 1 To cat
  Print "    |        |         "
Next i
Print "   /          \        "
Print "  /   ______   \       "
Print "  |  /      \  |       "
Print "  | |        | |       "
Print " /  |        |  \      "
Print " \__/        \__/      "

Name: Anonymous 2007-03-16 9:25 ID:Pf8QjnIb

U r doin it rite

Name: Anonymous 2007-03-16 11:48 ID:nxn8JFDO

In b4 an infinite, lazily evaluated longcat.

Name: Anonymous 2007-03-16 11:51 ID:x4KAU57y

#!/usr/bin/perl

print 'How long is longcat?: ';
chomp($length_of_longcat = <STDIN>);


print '   ^_______^                    ' . "\n";
print '  /         \                ' . "\n";
print ' |   #    #  |                ' . "\n";
print ' \      @    |                ' . "\n";
print '  \    _|_  /                ' . "\n";
print '  /         \____________    ' . "\n";
print ' /  _____________ ____    \    ' . "\n";
print ' |  ___________    \  \___/    ' . "\n";
print '  |            \___/         ' . "\n";

foreach (0..$length_of_longcat) {
print '  |           |              ' . "\n";
}

print '  /            \             ' . "\n";
print ' /   ________   \            ' . "\n";
print ' |  /        \   |           ' . "\n";
print ' |  |         |  |           ' . "\n";
print '/   |         |   \          ' . "\n";
print '\___/         \___/          ' . "\n";

Name: Anonymous 2007-03-16 11:52 ID:Heaven

module LongCock (main) where
  main = putStrLn ('8' : (repeat '=') ++ ">")

Name: Anonymous 2007-03-16 11:53 ID:QVBuyJBg

Haskell wanker is a wanker

Name: Anonymous 2007-03-16 11:54 ID:E/O+EdDc

>>56
NEEDS LESS FAILURE!

#!/usr/bin/perl
print 'How long is longcat?: ';
chomp($length_of_longcat = <STDIN>);
print '   ^_______^                    ' . "\n";
print '  /         \                ' . "\n";
print ' |   #    #  |                ' . "\n";
print ' \      @    |                ' . "\n";
print '  \    _|_  /                ' . "\n";
print '  /         \____________    ' . "\n";
print ' /  _____________ ____    \    ' . "\n";
print ' |  ___________    \  \___/    ' . "\n";
print '  |            \___/         ' . "\n";
print "  |           |              \n" x $length_of_longcat;
print '  /            \             ' . "\n";
print ' /   ________   \            ' . "\n";
print ' |  /        \   |           ' . "\n";
print ' |  |         |  |           ' . "\n";
print '/   |         |   \          ' . "\n";
print '\___/         \___/          ' . "\n";

Name: Anonymous 2007-03-16 12:41 ID:z/liyv+O

Pop this into C++ for ultimate Console ASCII Cats!


/*~~~~~~~ ASCII CATS ~~~~~~~~
Longcat for Visual Studio 2005 C++

USE ON A WINDOWS MACHINE
 - otherwise you FAIL
~~~~~~~~ /ASCII CATS ~~~~~~~*/
#include <iostream>        //Includes input/output library
using namespace std;    //Removes need for std:: all the time

int length = 0;

void Longcat();
void Tacgnol();

int main()  //Main Function - required
{
    system("COLOR 9F");

    int master = 0;
    cout << "Copypasta /r/ who is your master!\n";

    cout << "Longcat - 1\n";
    cout << "Tacgnol - 0\n\n";

    cin >> master;

    while(master >= 2 || master <= -1)
    {
        cout << "Your attemt at being a smartass has FAILED";
    }

    system("CLS");

    if(master == 0)
    {
        Tacgnol();
    }

    if(master == 1)
    {
        Longcat();
    }

    system("PAUSE");    //PAUSE

    return 0;            //EXIT
}

void Tacgnol()
{
    system("COLOR 08");                    //Changes background colour to white and text colour to gray - F8 for longcat

    cout << "How gnol si Tacgnol!?";    //Message output to user
    cin >> length;                        //User input

    //Longcat image displayed on screen - cuter than before

    //Head
    cout << "    ^_____^            \n";
    cout << "   /       \\           \n";
    cout << "  |  @    @ |          \n";
    cout << "  \\     v   |          \n";
    cout << "   \\   _|_ /           \n";
    cout << "   /       \\________   \n";
    cout << "  / ________  ___   \\  \n";
    cout << "  | ________   \\ \\__/  \n";
    cout << "   \\        \\__/       \n";

    //Mid-section
    for( int c = 0 ; c <= length ; c++)        //For loop - will output the mid-section of Longcat for as many units as stated by the user
    {
        cout << "    |        |         \n";    //Midsection to be output
    }//End For Loop

    //Legs
    cout << "   /          \\        \n";
    cout << "  /   ______   \\       \n";
    cout << "  |  /      \\  |       \n";
    cout << "  | |        | |       \n";
    cout << " /  |        |  \\      \n";
    cout << " \\__/        \\__/      \n\n";

    cout << "Tacgnol si... GN";
        for(int i = 0 ; i <= length ; i++)
        {
            cout << "O";
        }

    cout << "L\n";

}

void Longcat()
{
    system("COLOR F8");                    //Changes background colour to white and text colour to gray - F8 for longcat

    cout << "How long is Longcat!?";    //Message output to user
    cin >> length;                        //User input

    //Longcat image displayed on screen - cuter than before

    //Head
    cout << "    ^_____^            \n";
    cout << "   /       \\           \n";
    cout << "  |  @    @ |          \n";
    cout << "  \\     v   |          \n";
    cout << "   \\   _|_ /           \n";
    cout << "   /       \\________   \n";
    cout << "  / ________  ___   \\  \n";
    cout << "  | ________   \\ \\__/  \n";
    cout << "   \\        \\__/       \n";

    //Mid-section
    for( int c = 0 ; c <= length ; c++)        //For loop - will output the mid-section of Longcat for as many units as stated by the user
    {
        cout << "    |        |         \n";    //Midsection to be output
    }//End For Loop

    //Legs
    cout << "   /          \\        \n";
    cout << "  /   ______   \\       \n";
    cout << "  |  /      \\  |       \n";
    cout << "  | |        | |       \n";
    cout << " /  |        |  \\      \n";
    cout << " \\__/        \\__/      \n\n";

    cout << "Longcat is... L";
        for(int i = 0 ; i <= length ; i++)
        {
            cout << "O";
        }

    cout << "NG\n";

}

Name: Anonymous 2007-03-16 12:57 ID:Heaven

int length = 0; // Assigns the value zero to the integer variable named length.

Name: Anonymous 2007-03-16 13:49 ID:DoG3mEM0

>>61
lol, yes, yes it does

Name: Anonymous 2007-03-16 14:27 ID:Heaven

>>60
What the hell is wrong with you.

Name: Anonymous 2007-03-16 15:57 ID:Pf8QjnIb


$lenght_of_longcat = int <STDIN>

reads nicer than

chomp($length_of_longcat = <STDIN>);

Name: Anonymous 2007-03-16 15:59 ID:Pf8QjnIb

>>59
what's with the needless ". "\n"?

Name: Anonymous 2007-03-16 16:11 ID:E/O+EdDc

>>65
Too lazy to change it -- I only copipasta'd it to show off my extensive (I kid) knowledge of Perl operators.

Name: Anonymous 2007-03-16 18:10 ID:Pf8QjnIb

>>66
I liked the string multiplication operator though, that might come in handy.

using a for loop is possibly more readable though

Name: Anonymous 2007-03-17 0:16 ID:s/RgDImc

#!/usr/bin/env perl

use strict;
use PerlHP;

<% our $length %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
 <head>
  <title>looooooongcat</title>
 </head>
 <body>
  <% if(!$length=~/^\d+$/){ %>
   <form method="post" action="<%= $ENV{SCRIPT_NAME} %>">
    <p>
     <label for="length">How long is looooooongcat?</label>
     <input type="text" name="length" id="length"/>
     <input type="submit"/>
    </p>
   </form>
  <% }else{ %>
   <p style="white-space:pre;font-family:monospace">
    ^_____^
   /       \
  |  #    # |
  \     @   |
   \   _|_ /
   /       \________
  / ________  ___   \
  | ________   \ \__/
   |        \__/
<%= "    |        |\n"x$length
%>   /          \
  /   ______   \
  |  /      \  |
  | |        | |
 /  |        |  \
 \__/        \__/
   </p>
  <% } %>
 </body>
</html>

Name: Anonymous 2007-03-17 1:51 ID:Heaven

>>68
needs more tags.
[code]#!/usr/bin/env perl

use strict;
use PerlHP;

<% our $length %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;;
<html xmlns="http://www.w3.org/1999/xhtml";; lang="en" xml:lang="en">
 <head>
  <title>looooooongcat</title>
 </head>
 <body>
  <% if(!$length=~/^\d+$/){ %>
   <form method="post" action="<%= $ENV{SCRIPT_NAME} %>">
    <p>
     <label for="length">How long is looooooongcat?</label>
     <input type="text" name="length" id="length"/>
     <input type="submit"/>
    </p>
   </form>
  <% }else{ %>
   <p style="white-space:pre;font-family:monospace">
    ^_____^
   /       \
  |  #    # |
  \     @   |
   \   _|_ /
   /       \________
  / ________  ___   \
  | ________   \ \__/
   |        \__/
<%= "    |        |\n"x$length
%>   /          \
  /   ______   \
  |  /      \  |
  | |        | |
 /  |        |  \
 \__/        \__/
   </p>
  <% } %>
 </body>
</html>

Name: Anonymous 2007-03-17 1:53 ID:Heaven

>>69
lol, i guess shiichan fails at bbcode.
bbcode is made of fail anyway, tho.
if you fail at failure, does that mean you win?

Name: Anonymous 2007-03-17 5:21 ID:Heaven

>>70
Yes, the special Olympics.

Name: Anonymous 2007-03-17 5:25 ID:MS2lcoGe

if you fail at failure, does that mean you win?
It means you can be sure you're using shiichan or shiichan derivative

Name: Anonymous 2009-01-14 15:15

GTFO

Name: Anonymous 2011-01-31 20:12

<-- check em dubz

Name: Anonymous 2011-02-03 8:00

Name: Anonymous 2011-02-04 13:57

Name: Sgt.Kabu싻然kiman់ 2012-05-28 23:03

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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