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

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.

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