Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: plzzz help me..  (Read 2243 times)

0 Members and 1 Guest are viewing this topic.

gepsjay

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
plzzz help me..
« on: May 14, 2014, 02:19:38 am »
 can anyone here help me out... i need to make a red and black tree using c++ and it needs graphics .. can anyone help me out here.. i dont know how to use SFML...  :( :( :( :( :( :( :( :( :( :( :( :(

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: plzzz help me..
« Reply #1 on: May 14, 2014, 02:26:58 am »
About everything in your post is wrong. If you can't stick to the simplest rules, how do you expect us to help you?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Veritas

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Email
Re: plzzz help me..
« Reply #2 on: May 14, 2014, 07:38:43 am »
First of all have you read the official tutorials? Like eXpl0it3r pointed out, you should read the rules before posting and this applies to all forums. As for the red and black tree , you can simply make every node hold an sf::Sprite/sf::Text and then use a tree traversal algorithm to render it.
Of course you will have to calculate the position offsets for every node yourself.
« Last Edit: May 14, 2014, 07:41:06 am by Veritas »
"Lasciate ogni speranza, voi ch'entrate"

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: plzzz help me..
« Reply #3 on: May 19, 2014, 05:47:07 am »
It's useless. Patient is inadequate.