Thread: Prelude Picture Pool-in

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    Prelude Picture Pool-in

    Mentioned in an earlier thread about Preludes use of ASCII art, I think we should work through the tutorials at eternallyconfuzzled and transform the the said AA into pretty jpegs!

    Shouldn't take long if a few of us take a page each. I've got Photoshop so I'm well equipped - of course MSPaint or GIMP will work just as well.

    I'll take the first page on BST's. Time to give something back people

    *edit*

    Prelude: Where shall we send the pics?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    I plan on zipping 'em and posting an attachment. I've got 9 left to do on that red-black tutorial.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Wow, I had no idea people were so interested in helping. Thanks!

    >I'll take the first page on BST's.
    This one will be getting a big update soon, so you might want to hold off on that page.

    >Prelude: Where shall we send the pics?
    An attachment will be fine, or you can email them to [email protected].
    My best code is written with the delete key.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Damn I've already started! Nevermind I'll keep it and go straight for the page on AVL trees.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by pianorain
    I plan on zipping 'em and posting an attachment. I've got 9 left to do on that red-black tutorial.
    9 left!! What are you using?
    Lining the numbers up and making it all neat is a pain in the butt in photoshop
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  6. #6
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Visio rules for making diagrams. All those nice circles and lines are already made for you. It snaps stuff to grids and centers your text.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  7. #7
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by pianorain
    Visio rules for making diagrams. All those nice circles and lines are already made for you. It snaps stuff to grids and centers your text.
    Visio rings a bell.
    I've only done 4 and my finger is starting to develop a stiffness.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  8. #8
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Prelude, I've got a question. On the 10th ASCII art drawing on the red-black tutorial, you have nodes 0,1,3, and 4 in the first two trees, but the third tree magically has 0,1,2 and 3. Was this intentional?
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  9. #9
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Was this intentional?
    No, I go through several variations of a diagram before the final result, and sometimes I forget to change things to the way they should be. The structure is correct and the numbers match up where 2 is equivalent to 3 and 3 is equivalent to 4, but that's a typo. It should be like this:
    Code:
          2,B                        2,B                  1,B
    
        /     \                    /     \              /     \
    
     0,R        3,B  ->        1,B         3,B  ->  0,R          2,R
    
        \                    /                                       \
    
          1,R            0,R                                           3,B
    My best code is written with the delete key.

  10. #10
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Okay, images sent.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] change picture width and height in Static control (no MFC)
    By pc2-brazil in forum Windows Programming
    Replies: 1
    Last Post: 05-05-2008, 01:17 AM
  2. Replies: 6
    Last Post: 12-21-2005, 03:49 AM
  3. Embedding Objects into Picture Controls
    By Capsher Codah in forum Windows Programming
    Replies: 1
    Last Post: 03-05-2005, 09:38 PM
  4. Rotating a picture
    By Bill in forum C Programming
    Replies: 4
    Last Post: 05-18-2004, 09:26 PM
  5. How To Import A Bitmap Picture Correctly Using Visual C++ 6 ?
    By SonicWave in forum Windows Programming
    Replies: 2
    Last Post: 09-16-2001, 09:28 AM