Search Results

Showing results 1 to 30 of 30
Search took 0.01 seconds.
Search: Posts Made By: chrisbliss18 ; Forum: Java and child forums
Forum: Java Mar 31st, 2006
Replies: 5
Views: 4,715
Posted By chrisbliss18
All you need to do is add the location of your javac program to the path variable of your computer. That way, you can execute javac from anywhere. Using this method, all you need to do is change to...
Forum: Java Dec 5th, 2005
Replies: 11
Views: 2,410
Posted By chrisbliss18
Why are you doing this:return add ();If you execute a return while in the main subroutine, you stop the execution of the program.
Forum: Java Dec 2nd, 2005
Replies: 11
Views: 2,410
Posted By chrisbliss18
The old method of doing this is as follows:static int getMenuChoice(Console c)
{
c.println("Choose an option");
c.println("");
c.println("1. Add");
c.println("2. Subtract");
c.println("3....
Forum: Java Dec 1st, 2005
Replies: 3
Views: 3,381
Posted By chrisbliss18
There's an easy way to find out. Compile the program with none of the imports and take note of the size (get the exact size, such as 3221 bytes rather than 3.2 kilobytes). Compile the program with...
Forum: Java Nov 22nd, 2005
Replies: 2
Views: 1,059
Posted By chrisbliss18
I thought the same thing. I'm glad to see that I'm not the only person that is noticing the continual degradation of thread subjects. If people posted in the correct forum and section while using...
Forum: Java Oct 21st, 2005
Replies: 5
Views: 1,572
Posted By chrisbliss18
If you are asking about how to make a machine vision program, this is a very hard task. Without someone just giving you the code -- I'm not sure anyone here actually works with machine vision -- we...
Forum: Java Oct 20th, 2005
Replies: 34
Views: 8,690
Posted By chrisbliss18
hatch, the reason people are responding to you like that is that you don't seem to want to work with us. You have given very little of what the responders have asked for. You gave what little bit of...
Forum: Java Sep 27th, 2005
Replies: 3
Mr
Views: 1,073
Posted By chrisbliss18
Use Character.getNumericValue(char) to get the numeric value of the character. There isn't a routine that converts a decimal number to a binary number, so I assume that's the part your professor...
Forum: Java Sep 26th, 2005
Replies: 9
Views: 5,117
Posted By chrisbliss18
Actually, it's not at all the same. You're not working with the same code that has worked before, you are using new code that you have yet to be able to get to work. There is a problem somewhere, you...
Forum: Java Sep 26th, 2005
Replies: 3
Views: 1,373
Posted By chrisbliss18
Considering that producing a virus could potentially be a criminal activity, I don't think you can reasonably expect anyone to post virus code. Why are you interested in code for a virus in Java?
Forum: Java Sep 24th, 2005
Replies: 8
Views: 1,591
Posted By chrisbliss18
It points to the last segment of code because that's where the error is.

A character literal just means a single character. You can use single-quotes to hold one character but not multiple. Check...
Forum: Java Sep 24th, 2005
Replies: 8
Views: 1,591
Posted By chrisbliss18
You can't enclose string definitions with single-quotes in Java. You must use double-quotes.

Please enclose your code in tags.
Forum: Java Sep 23rd, 2005
Replies: 4
Views: 3,350
Posted By chrisbliss18
Is the Format class file in the same directory as the file you are not able to compile?
If it is not, are you importing the package?

Is your print() method in the Format package static?

You...
Forum: Java Sep 22nd, 2005
Replies: 1
Views: 1,224
Posted By chrisbliss18
Recursion is strange in that it's a simple concept but can be incredibly complex and hard to understand. I wasn't really understanding your approach to the problem, so I worked out my own form of a...
Forum: Java Sep 21st, 2005
Replies: 7
Views: 17,139
Posted By chrisbliss18
A quick and dirty way of doing it would be to create a new ArrayList (arrList2), use a loop to read each object in the original ArrayList (arrList1), use the indexOf method to check arrList2 for the...
Forum: Java Sep 20th, 2005
Replies: 3
Views: 2,092
Posted By chrisbliss18
You should use the HttpURLConnection (http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.html) class for requesting pages through HTTP. This class has a setFollowRedirects method that...
Forum: Java Sep 16th, 2005
Replies: 3
Views: 3,301
Posted By chrisbliss18
In case that source is lost, here's the solution for anyone else that may be interested.
Forum: Java Sep 16th, 2005
Replies: 14
Views: 2,045
Posted By chrisbliss18
I think you should make a nice set of objects. Here's some data structures that I think would work well:class MyAttribute
MyAttribute(name, value)

setName(name)
getName()

setValue(value)...
Forum: Java Sep 15th, 2005
Replies: 14
Views: 2,045
Posted By chrisbliss18
I meant to indicate that I know that Chipsncoke isn't looking for us to give him his whole program, but it would help us give better answers if he posted the actual assignment details.
Forum: Java Sep 15th, 2005
Replies: 3
Views: 3,301
Posted By chrisbliss18
Check this thread (http://www.mcse.ms/message1402364.html) and let me know if it sounds like it addresses your situation. If not, we'll have to look at other possibilities.
Forum: Java Sep 15th, 2005
Replies: 14
Views: 2,045
Posted By chrisbliss18
I don't like giving answers to programming problems since it defeats the purpose of learning. I think it would help to know exactly what your program is supposed to do. If you could post the actual...
Forum: Java Sep 14th, 2005
Replies: 14
Views: 2,045
Posted By chrisbliss18
Good call hooknc. I think that's what he's going for. Can you confirm this Chipsncoke?

I have to say that the file definition is extemely poorly structured. You can tell your professor I said that.
Forum: Java Sep 13th, 2005
Replies: 4
Views: 1,344
Posted By chrisbliss18
I don't know what you are asking for. Can you clarify?

Can you show an example of what you are trying to do and what problem you are having with getting it to work?

It also helps if you ask...
Forum: Java Sep 13th, 2005
Replies: 9
Views: 1,653
Posted By chrisbliss18
Can you show us an example of what you are wanting?
Forum: Java Sep 13th, 2005
Replies: 14
Views: 2,045
Posted By chrisbliss18
I don't understand what your question is.

Do you need help with creating an object structure that can handle data of that sort?
Do you need help with how to read the file?
Forum: Java Sep 13th, 2005
Replies: 3
Views: 2,092
Posted By chrisbliss18
Let's look at the response when requesting this page:HTTP/1.1 302 Object moved
Date: Tue, 13 Sep 2005 16:06:26 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Location:...
Forum: Java Sep 13th, 2005
Replies: 1
Views: 3,180
Posted By chrisbliss18
This question reeks of homework problem. Since that's the case, I'll make you think about it. What you need to do is create a list of all the possible substrings, count up duplicate occurances of...
Forum: Java Sep 13th, 2005
Replies: 10
Views: 3,844
Posted By chrisbliss18
Are you creating the PersonInfo class definition in the same file as the rest of your program? If you are, you need to define the PersonInfo class as static.
Forum: Java Sep 13th, 2005
Replies: 10
Views: 3,844
Posted By chrisbliss18
Which line did it have a problem with?
Forum: Java Sep 12th, 2005
Replies: 10
Views: 3,844
Posted By chrisbliss18
Think about this situation as similar to keeping running totals. Create another variable that will store the complete file. After each read, append the read in data to the variable.

Next time, put...
Showing results 1 to 30 of 30

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC