
-----------------------------------
bobbySmith
Tue Mar 24, 2009 1:53 pm

What am I doing wrong????
-----------------------------------
:?   I'm going nut's!!!

#include
#include

using namespace std;

bool BinarySearch(int info

Mod Edit: Remember to use syntax tags! Thanks :) Code Here

-----------------------------------
DemonWasp
Tue Mar 24, 2009 2:06 pm

RE:What am I doing wrong????
-----------------------------------
First, please use either [ code ] or [ syntax ] tags to properly align / highlight your code. This makes it a lot easier for us to help you.

Second, when describing a problem, "it doesn't work" is insufficient. Tell us what your output is and what your expected output is, and what you've already tried.

I'm not going to try solving this problem at the moment; instead, I'll point you in the right direction. Try putting an output line right as you enter BinarySearch that goes something like this:

[code]cout 