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-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";

}

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