binary search

binary search recursive in C

Page 1 of 1

3 Replies - 3011 Views - Last Post: 27 February 2009 - 08:25 AM Rate Topic: -----

#1 parvathi.mca   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-February 09

binary search

Posted 27 February 2009 - 02:09 AM

c program for recursive binary search of numbers
Is This A Good Question/Topic? 0
  • +

Replies To: binary search

#2 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: binary search

Posted 27 February 2009 - 02:10 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
Was This Post Helpful? 0
  • +
  • -

#3 galorin   User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 86
  • Joined: 17-February 09

Re: binary search

Posted 27 February 2009 - 02:48 AM

View Postparvathi.mca, on 27 Feb, 2009 - 01:09 AM, said:

c program for recursive binary search of numbers

I'd like one of those too. Check out "The C Programming Language" by Kernighan and Ritchie, chapter 6 has stuff on creating a binary tree. I am currently working on re-sorting the binary tree by order of decreasing occurrence. I am still a beginner, and don't have much more code than is already in the book.

Show us how you're getting on, and I may get the confidence to post my code, that produces 20+ warnings and 2 errors within 30 lines of original code. Yep, my attempts at re-sorting binary tree doesn't even compile.
Was This Post Helpful? 0
  • +
  • -

#4 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: binary search

Posted 27 February 2009 - 08:25 AM

Recursive Binary Search

Search the snippets section, its chocked full of great information.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1