Re: help needed on inputting - tearing hair out .. please!!!
- From: "Michael Redlich" <mike@xxxxxxxxxxx>
- Date: 28 Nov 2005 08:40:44 -0800
Hi Patrick:
First, I see that you are trying to compare a string with an int
followed by an assignment to a boolean in the lines:
correct = (guess > y);
correct = (guess < y);
I assume that's where your program is not compiling since there are
three different data types being used here.
What is the type of the variable, in? Are you capturing input from the
command line or a text file?
I may have an example program for what you are trying to accomplish.
It's on my laptop at home, but I have a CD archive here at work, and I
will look for it this afternoon.
Sincerely,
Mike.
.
- Follow-Ups:
- Re: help needed on inputting - tearing hair out .. please!!!
- From: patrick_woflian
- Re: help needed on inputting - tearing hair out .. please!!!
- References:
- help needed on inputting - tearing hair out .. please!!!
- From: patrick_woflian
- help needed on inputting - tearing hair out .. please!!!
- Prev by Date: Re: Newbie question on stopping an application
- Next by Date: Re: cant's compile with javac
- Previous by thread: help needed on inputting - tearing hair out .. please!!!
- Next by thread: Re: help needed on inputting - tearing hair out .. please!!!
- Index(es):
Relevant Pages
|