Thread: Animation not working....

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    7

    Animation not working....

    Can somebody figure out why my loop isn't working...


    /* Name: Jake Baez
    * Collaborator(s): Joseph Crop, Amy Kao, Andrew Quinn
    * Instructor: Gary Watson
    * Date: 02-16-05
    * Assignment: functions and animation
    * Description: Colored text animation
    */

    #include <stdio.h>
    #include <conio.h>
    #include <time.h>

    #define BLACK 0
    #define DARKBLUE 1
    #define DARKGREEN 2
    #define DARKCYAN 3
    #define DARKRED 4
    #define DARKMAGENTA 5
    #define DARKYELLOW 6
    #define DARKWHITE 7
    #define GREY 8
    #define BLUE 9
    #define GREEN 10
    #define CYAN 11
    #define RED 12
    #define MAGENTA 13
    #define YELLOW 14
    #define WHITE 15

    void delay(int i);

    int main(void)

    {int time=100, col=0, row=0;

    _textcolor(11);
    _gotoxy(col,row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 1 */
    "+ ",
    "+ ",
    "+ ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 2 */
    " + ",
    " + ",
    "++ ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 3 */

    " + ",
    " + ",
    "+++ ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 4 */

    " + ",
    " + ",
    "++++ ",
    " ",
    " ",
    " ",
    " ",
    " ",
    "+/ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 5 */

    "^ + ",
    ") + ",
    ")++++ ",
    " ",
    " ",
    " ",
    " ",
    "+ ",
    " +- ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 6 */

    "^^ + ",
    "*) + ",
    "_)++++ ",
    " ",
    " ",
    " ",
    "+ ",
    " + ",
    " +\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 7 */

    "^^^ + ",
    " *) + ",
    "0_)++++ ",
    "+ ",
    "+ ",
    "+ ",
    " + ",
    " + ",
    " +| ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 8 */

    "^^^^ + ",
    "* *) + ",
    "_0_)++++ ",
    " + ",
    " + ",
    " + ",
    "+ + ",
    " + ",
    " +/ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 9 */

    "^^^^^ + ",
    "(* *) + ",
    "(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    "+ + ",
    " +- ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 10 */

    " ^^^^^ + ",
    " (* *) + ",
    "+(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    "+ +\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 11 */

    " ^^^^^ + ",
    " (* *) + ",
    "++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    "|+ +| ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 12 */

    " ^^^^^ + ",
    " (* *) + ",
    "+++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +/ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 13 */

    "+ ^^^^^ + ",
    "+ (* *) + ",
    "++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " -+ +- ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 14 */

    " + ^^^^^ + ",
    " + (* *) + ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " \+ +\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 15 */

    " + ^^^^^ + ",
    " + (* *) + ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " |+ +| ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 16, man in center */

    " + ^^^^^ + ",
    " + (* *) + ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +/ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 17 */

    " ^^^^^ ",
    " + (* *) + ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 18 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 19 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 20 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + + + ",
    " + + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 21 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 22 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 23 */

    " ^^^^^ ",
    " (* *) + ",
    " ++++(_0_)++++ ",
    " + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 24 */

    " ^^^^^ + ",
    " (* *) + ",
    " ++++(_0_)++++ ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 25 */

    " ^^^^^ + ",
    " (* *) + ",
    " ++++(_0_)++++ ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 26 */

    " ^^^^^ + ",
    " (* *) + ",
    " ++++(_0_)++++ ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 27 */

    " ^^^^^ + ",
    " (* *) + ",
    " ++++(_0_)++++ ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 28 */

    " ^^^^^ ",
    " (* *) + ",
    " +++++(_0_)+++++ ",
    " + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 29 */

    " ^^^^^ ",
    " (* *) ",
    " ++++++(_0_)++++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 30 */

    " ^^^^^ ",
    " (* *) ",
    " +++++(_0_)+++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 31 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++++ ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 32 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)+++ ",
    " + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 33 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)++ ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 34 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_)+ ",
    " + + ",
    " + + ",
    " + + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 35 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 36 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 37 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 38 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 39 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + ++ ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 40 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " ++ ",
    " ++ ",
    " ++ ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 41 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " +++ ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 42 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " ++ + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 43 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 44 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 45 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 46 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 47 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 48 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 49 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 50 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 51 */

    " ^^^^^ ",
    " ++++(* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 52 */

    " ++++^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 53 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 54 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 55 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 56 */

    " ^^^^^ ",
    " (* *)-one ",
    " ++++(_0_) arm ",
    " + left",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 57 */

    " ^^^^^ ",
    " (* *)-one ",
    " ++++(_0_) arm ",
    " + left",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 58 */

    " ^^^^^ ",
    " (* *)-one ",
    " ++++(_0_) arm ",
    " + left",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 59 */

    " ^^^^^ ",
    " (* *) ",
    " ++++(_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 60 */

    " ^^^^^ ",
    " (* *) ",
    " ++++ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 61 */

    " ^^^^^ ",
    " (* *) ",
    " ++++ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 62 */

    " ^^^^^ ",
    " (* *) ",
    "++++ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 63 */

    " ^^^^^ ",
    " (* *) ",
    "+++ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 64 */

    " ^^^^^ ",
    " (* *) ",
    "++ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 65 */

    " ^^^^^ ",
    " (* *) ",
    "+ (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 66 */

    " ^^^^^ ",
    " (* *) ",
    " (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 67 */

    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 68 */

    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 69 */

    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 70 */

    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 71 */

    " ",
    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 72 */

    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + + ",
    " + + ",
    " /+ +\\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 73 */

    " ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " + + ",
    " /++ ++\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 74 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ",
    " /+++ +++\ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 75 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (* *)-crap! ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 76 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (* *) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 77 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 78 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_9_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 79 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_8_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 80 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_7_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 81 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_6_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 82 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_5_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 83 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_4_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 84 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_3_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 85 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_2_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 86 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_1_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 87 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (\\ /) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);


    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 88 */

    " ",
    " SELF ",
    " DESTRUCT ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (0 0) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 89 */

    " ",
    " S E L F ",
    " D E S T R U C T ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (o o) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 90 */

    " S L ",
    " E F ",
    " E S T R U C ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (o o) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 91 */

    " S ",
    " ",
    " S T R L U ",
    " ",
    " E ",
    " ",
    " ^^^^^ ",
    " (o o) ",
    " (_0_) F ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 92 */

    "S L",
    " ",
    " T R ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (o o) ",
    "E (_0_) F");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 93 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ^^^^^ ",
    " (o o) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 94 */

    " ",
    " ^ ",
    " ^ ",
    " ^ ",
    " ^ ",
    " ",
    " ",
    " (o o) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 95 */

    " ",
    " ^ ",
    " ",
    " ^ ",
    " ",
    " ",
    " ",
    " (o o) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 96 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ( o o ) ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 97 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    "( o o )",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 98 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " o o ",
    " (_0_) ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 99 */

    " ",
    " 0 ",
    " ",
    " ",
    " ( ",
    " ) ",
    " ",
    " ",
    " _ _ ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 100 */

    " ",
    " ( ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 101 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 102 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 103 */

    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ",
    " ");
    delay(time);
    fflush(stdout);
    _gotoxy(col, row);

    return 0;}

    void delay(int msec)
    {int delay;
    delay = clock() + msec;
    while(clock() < delay)
    ;
    return;}

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Code tags please...that code's incomprehensible.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    7
    I don't know what code tags are buddy - total noob to this forum/C programming. Sorry. I can send you the source - my aol im is andyypandyy

  4. #4
    Registered User
    Join Date
    Feb 2005
    Posts
    7
    Code:
    /* Name:  Jake Baez
     * Collaborator(s):   Joseph Crop,  Amy Kao, Andrew Quinn
     * Instructor:  Gary Watson
     * Date:  02-16-05
     * Assignment:  functions and animation
     * Description:  Colored text animation
     */
    
    #include <stdio.h>
    #include <conio.h>
    #include <time.h>
    
    #define BLACK 0
    #define DARKBLUE 1
    #define DARKGREEN 2
    #define DARKCYAN 3
    #define DARKRED 4
    #define DARKMAGENTA 5
    #define DARKYELLOW 6
    #define DARKWHITE 7
    #define GREY 8
    #define BLUE 9
    #define GREEN 10
    #define CYAN 11
    #define RED 12
    #define MAGENTA 13
    #define YELLOW 14
    #define WHITE 15
    
    void delay(int i);
    
    int main(void)
    	
    	{int time=100, col=0, row=0;
    	
    	_textcolor(11);
    	_gotoxy(col,row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 1 */
    	"+                  ",
    	"+                  ",
    	"+                  ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 2 */
    	" +                 ",
    	" +                 ",
    	"++                 ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 3 */
    	
    	"  +                ",
    	"  +                ",
    	"+++                ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 4 */
    	
    	"   +               ",
    	"   +               ",
    	"++++               ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"+/                 ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 5 */
    	
    	"^   +              ",
    	")   +              ",
    	")++++              ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"+                  ",
    	" +-                ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 6 */
    	
    	"^^   +             ",
    	"*)   +             ",
    	"_)++++             ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"+                  ",
    	" +                 ",
    	"  +\               ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 7 */
    	
    	"^^^   +            ",
    	" *)   +            ",
    	"0_)++++            ",
    	"+                  ",
    	"+                  ",
    	"+                  ",
    	" +                 ",
    	"  +                ",
    	"   +|              ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 8 */
    	
    	"^^^^   +           ",
    	"* *)   +           ",
    	"_0_)++++           ",
    	" +                 ",
    	" +                 ",
    	" +                 ",
    	"+ +                ",
    	"   +               ",
    	"    +/             ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 9 */
    	
    	"^^^^^   +          ",
    	"(* *)   +          ",
    	"(_0_)++++          ",
    	"  +                ",
    	"  +                ",
    	"  +                ",
    	" + +               ",
    	"+   +              ",
    	"     +-            ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 10 */
    	
    	" ^^^^^   +         ",
    	" (* *)   +         ",
    	"+(_0_)++++         ",
    	"   +               ",
    	"   +               ",
    	"   +               ",
    	"  + +              ",
    	" +   +             ",
    	"+     +\            ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 11 */
    	
    	"  ^^^^^   +        ",
    	"  (* *)   +        ",
    	"++(_0_)++++        ",
    	"    +              ",
    	"    +              ",
    	"    +              ",
    	"   + +             ",
    	"  +   +            ",
    	"|+     +|          ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 12 */
    	
    	"   ^^^^^   +       ",
    	"   (* *)   +       ",
    	"+++(_0_)++++       ",
    	"     +             ",
    	"     +             ",
    	"     +             ",
    	"    + +            ",
    	"   +   +           ",
    	" /+     +/         ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 13 */
    	
    	"+   ^^^^^   +      ",
    	"+   (* *)   +      ",
    	"++++(_0_)++++      ",
    	"      +            ",
    	"      +            ",
    	"      +            ",
    	"     + +           ",
    	"    +   +          ",
    	"  -+     +-        ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 14 */
    	
    	" +   ^^^^^   +     ",
    	" +   (* *)   +     ",
    	" ++++(_0_)++++     ",
    	"       +           ",
    	"       +           ",
    	"       +           ",
    	"      + +          ",
    	"     +   +         ",
    	"   \+     +\       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 15 */
    	
    	"  +   ^^^^^   +    ",
    	"  +   (* *)   +    ",
    	"  ++++(_0_)++++    ",
    	"        +          ",
    	"        +          ",
    	"        +          ",
    	"       + +         ",
    	"      +   +        ",
    	"    |+     +|       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 16, man in center */
    	
    	"   +   ^^^^^   +   ",
    	"   +   (* *)   +   ",
    	"   ++++(_0_)++++   ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +/     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 17 */
    	
    	"       ^^^^^       ",
    	"   +   (* *)   +   ",
    	"   ++++(_0_)++++   ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 18 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 19 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"   +     +     +   ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 20 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"   +     +     +   ",
    	"   +     +     +   ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 21 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"   +     +     +   ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 22 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 23 */
    	
    	"       ^^^^^       ",
    	"       (* *)   +   ",
    	"   ++++(_0_)++++   ",
    	"   +     +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 24 */
    	
    	"       ^^^^^   +   ",
    	"       (* *)   +   ",
    	"   ++++(_0_)++++   ",
    	"   +     +         ",
    	"   +     +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 25 */
    	
    	"       ^^^^^   +   ",
    	"       (* *)    +  ",
    	"   ++++(_0_)++++   ",
    	"  +      +         ",
    	"   +     +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 26 */
    	
    	"       ^^^^^    +  ",
    	"       (* *)    +  ",
    	"   ++++(_0_)++++   ",
    	"  +      +         ",
    	"  +      +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 27 */
    	
    	"       ^^^^^     + ",
    	"       (* *)    +  ",
    	"   ++++(_0_)++++   ",
    	"  +      +         ",
    	" +       +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 28 */
    	
    	"       ^^^^^       ",
    	"       (* *)     + ",
    	"  +++++(_0_)+++++  ",
    	" +       +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 29 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	" ++++++(_0_)++++++ ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 30 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"  +++++(_0_)+++++  ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 31 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++++   ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 32 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)+++    ",
    	"         +     +   ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 33 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)++     ",
    	"         +    +    ",
    	"         +     +   ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 34 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)+      ",
    	"         +   +     ",
    	"         +    +    ",
    	"         +     +   ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 35 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +  +      ",
    	"         +   +     ",
    	"         +    +    ",
    	"        + +    +   ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 36 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +  +      ",
    	"         +   +     ",
    	"         +    +    ",
    	"        + +   +    ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 37 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +  +      ",
    	"         +   +     ",
    	"         +   +     ",
    	"        + +  +     ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 38 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +  +      ",
    	"         +  +      ",
    	"         +  +      ",
    	"        + + +      ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 39 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         + +       ",
    	"         + +       ",
    	"         + +       ",
    	"        + ++       ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 40 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         ++        ",
    	"         ++        ",
    	"         ++        ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 41 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        +++        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 42 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"       + +         ",
    	"       + +         ",
    	"       + +         ",
    	"       ++ +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 43 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"       + +         ",
    	"      +  +         ",
    	"      +  +         ",
    	"      + + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 44 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"       + +         ",
    	"      +  +         ",
    	"     +   +         ",
    	"     +  + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 45 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"       + +         ",
    	"      +  +         ",
    	"     +   +         ",
    	"    +   + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 46 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"      +  +         ",
    	"     +   +         ",
    	"    +    +         ",
    	"   +    + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 47 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"     +   +         ",
    	"    +    +         ",
    	"   +     +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 48 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"    +    +         ",
    	"   +     +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 49 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"   +     +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 50 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 51 */
    	
    	"       ^^^^^       ",
    	"   ++++(* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 52 */
    	
    	"   ++++^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 53 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 54 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 55 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 56 */
    	
    	"       ^^^^^       ",
    	"       (* *)-one   ",
    	"   ++++(_0_)  arm  ",
    	"         +     left",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 57 */
    	
    	"       ^^^^^       ",
    	"       (* *)-one   ",
    	"   ++++(_0_)  arm  ",
    	"         +     left",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 58 */
    	
    	"       ^^^^^       ",
    	"       (* *)-one   ",
    	"   ++++(_0_)  arm  ",
    	"         +     left",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 59 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"   ++++(_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 60 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"  ++++ (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 61 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	" ++++  (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 62 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"++++   (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 63 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"+++    (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 64 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"++     (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 65 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"+      (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 66 */
    	
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"       (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 67 */
    	
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 68 */
    	
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 69 */
    	
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 70 */
    	
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"         +         ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 71 */
    	
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"         +         ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 72 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"        + +        ",
    	"       +   +       ",
    	"     /+     +\\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 73 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"        + +        ",
    	"     /++   ++\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 74 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ",
    	"     /+++ +++\     ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 75 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)-crap! ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 76 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (* *)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 77 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 78 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_9_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 79 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_8_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 80 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_7_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 81 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_6_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 82 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_5_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 83 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_4_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 84 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_3_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 85 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_2_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 86 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_1_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 87 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (\\ /)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 88 */
    	
    	"                   ",
    	"       SELF        ",
    	"     DESTRUCT      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (0 0)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 89 */
    	
    	"                   ",
    	"      S E L F      ",
    	"  D E S T R U C T  ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (o o)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 90 */
    	
    	"     S       L     ",
    	"         E       F ",
    	"  E  S  T  R  U  C ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (o o)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 91 */
    	
    	"  S                ",
    	"                   ",
    	" S    T    R  L  U ",
    	"                   ",
    	"     E             ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (o o)       ",
    	"       (_0_)     F ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 92 */
    	
    	"S                 L",
    	"                   ",
    	"   T          R    ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (o o)       ",
    	"E      (_0_)      F");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 93 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       ^^^^^       ",
    	"       (o o)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 94 */
    	
    	"                   ",
    	"           ^       ",
    	"                ^  ",
    	"     ^             ",
    	"        ^          ",
    	"                   ",
    	"                   ",
    	"       (o o)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 95 */
    	
    	"                   ",
    	"   ^               ",
    	"                   ",
    	"            ^      ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"       (o o)       ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 96 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"   (  o     o  )   ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 97 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"(   o        o    )",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 98 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"  o             o  ",
    	"       (_0_)       ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 99 */
    	
    	"                   ",
    	"        0          ",
    	"                   ",
    	"                   ",
    	"     (             ",
    	"               )   ",
    	"                   ",
    	"                   ",
    	"  _             _  ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 100 */
    	
    	"                   ",
    	"  (                ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 101 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 102 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", /* frame 103 */
    	
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ",
    	"                   ");
    	delay(time);
    	fflush(stdout);
    	_gotoxy(col, row);
    	
    	return 0;}
    
    void delay(int msec) 
    	{int delay;
    	delay = clock() + msec;
    	while(clock() < delay)
    		;
    	return;}

  5. #5
    Registered User
    Join Date
    Feb 2005
    Posts
    7
    There i 'tagged' it. haha.

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    haha you have got to be kidding

  7. #7
    Registered User
    Join Date
    Feb 2005
    Posts
    7
    Thanks for the help dick...

  8. #8
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    one thing is that you will need to clear the screen before every time you print something to the screen.. so after every printf, you want to print a new format to the screen..clear the screen first, and dont just do gotoxy(0,0).

    also, use the custom delay function in dos.h, instead of using your own.
    one more thing, there is an edit button, use that instead of posting that long piece of code again n again. it takes a lot of time for the page to load when you have that much of stuff on one page, please, please dont ever do that again...
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Not working Right
    By raven420smoke in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2005, 03:21 AM
  2. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 07:47 PM
  3. Animation class not working
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 03-02-2005, 06:48 AM
  4. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 08:35 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 04:08 AM