Thread: Howed he do that?

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    100

    Howed he do that?

    On red_baron's game (the really cool one ) those tables are cool. he posted the code but it is in c... can you do that with c++... and how?

    thanks

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    100
    im drawing a checker board but i want it to look good... not like


    ***************
    * * * *
    * * * *
    ***************
    * * * *
    * * * *
    ***************

  3. #3
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    basically i took the code and saved as c++ and it works fine with the dev-c++ compiler.
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    100
    wow... thanks... how do i put text inside the frame?

  5. #5
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    gotoxy(3,3);
    printf("WOW");
    gotoxy(3,4);
    printf("IT");
    gotoxy(3,5);
    printf("Works");


    oh yeah put the printf as coots or whatever they are in c++ just use the gotoxy function to go to a specific part of the screen and print something there, also try not to put any \n 's
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

Popular pages Recent additions subscribe to a feed