Search Results

Showing results 1 to 40 of 58
Search took 0.03 seconds.
Search: Posts Made By: Noliving
Forum: Assembly Nov 3rd, 2009
Replies: 2
Views: 387
Posted By Noliving
Well I was able to get all of it to pretty much work.
Forum: Assembly Nov 2nd, 2009
Replies: 2
Views: 387
Posted By Noliving
Ok good news, I was able to get my how many character output back, but I'm still having trouble getting the number of othercharacters to print.
Forum: Assembly Nov 2nd, 2009
Replies: 2
Views: 387
Posted By Noliving
Can someone run my mips code? I'm using pcSpim as my simulator

The issue I'm having is that it doesn't correctly output the number of othercharacters.

Other characters would be like...
Forum: Assembly Oct 31st, 2009
Replies: 2
Views: 461
Posted By Noliving
Good news I pretty much was able to get it to count the characters, except it only counts up to 78 instead of like 80 characters.
Forum: Assembly Oct 31st, 2009
Replies: 2
Views: 461
Posted By Noliving
Hello everyone, I'm trying to create a program that will accept a string and output how many characters are in that string. The input can be a mixture of upper/lowercase letters, digits, spaces, and...
Forum: Java Jan 30th, 2009
Replies: 1
Views: 305
Posted By Noliving
The purpose of a reach algorithm is to return the variable (or set of variables) that is defined by the given node. Correct?
Forum: Java Apr 17th, 2008
Replies: 2
Views: 460
Posted By Noliving
Ya it was a one line solution, after line 21 you have to add:

depth = depth -1;

So lines 14 too 36 or more like 37 from the orignal/first post shoud look like this:

public static int z(int...
Forum: Java Apr 17th, 2008
Replies: 2
Views: 460
Posted By Noliving
I basically have the entire program done except for one little problem my maxDepth output is wrong!

But the rest of the assignment is after your program gets the correct answers, add static...
Forum: Java Apr 17th, 2008
Replies: 1
Views: 418
Posted By Noliving
Ok good news I got my orignal problem solved. Now all I have to do is this part:

But the rest of the assignment is after your program gets the correct answers, add static variables calls, depth,...
Forum: Java Apr 16th, 2008
Replies: 1
Views: 418
Posted By Noliving
In this assignment you will implement the following recursive function in a ZFunction class. You must implement a main that will gather the parameters for the recursive function and display the...
Forum: Java Apr 15th, 2008
Replies: 3
Views: 1,395
Posted By Noliving
Ya I did that before but my test program kept giving me a preOrder result so I just left it at preOrder.

It's weird.

I tried it that way with the postOrdered on my friends computer and I got...
Forum: Java Apr 15th, 2008
Replies: 3
Views: 1,395
Posted By Noliving
Here is the preorder:

private void preOrderTraverse(Node < E > node, int depth,
StringBuilder sb) {
for (int i = 1; i < depth; i++) {
sb.append(" ");...
Forum: Java Apr 15th, 2008
Replies: 3
Views: 498
Posted By Noliving
Alright, well I'm new too tree's and I need help creating a postOrderTraverse and toStringPost() methods.

My understanding with the postorder traverse is that it is basically the same as a pre but...
Forum: Java Apr 14th, 2008
Replies: 3
Views: 498
Posted By Noliving
Well the problem is solved now, my professor sent me the files so they work now.

It wasn't a class path or any other type of problem.
Forum: Java Apr 14th, 2008
Replies: 3
Views: 498
Posted By Noliving
Well this is a lab assignment, the problem I'm having is that the sample code he gave us is suppose to run as is, but it doesn't. I email him and he thought that most likely there might be a problem...
Forum: Legacy and Other Languages Apr 9th, 2008
Replies: 0
Views: 726
Posted By Noliving
Select order_num, order_date, customer_name, description
From orders,part,customer
Union
Select order_num, order_date, customer_name, description
From orders,part,customer
Where customer_name =...
Forum: Java Apr 1st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
Never mind I fixed it! I didn't put it at the top.
Forum: Java Apr 1st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
I tried adding this, it didn't work:

public class exponential {
private double x;
private int n;
Forum: Java Apr 1st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
Ok well here is my complete program with the main:

public static double power(double x, int n){
if (n == 0)
return 1;
else
if (n > 0)
return x * power(x,n - 1);
...
Forum: Java Apr 1st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
The first three lines of code are from the book.

Now I just have to write a main which I don't want to do! Hey could you write a main for me? wink wink!
Forum: Java Mar 31st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
I've come up with this now:

public static double power(double x, int n){
if (n == 0)
return 1;
else
if (n > 0)
return x * power(x,n - 1);
else
return (1.0 / power(x,...
Forum: Java Mar 31st, 2008
Replies: 6
Views: 1,668
Posted By Noliving
Here is the problem: Does the recursive algorithm for raising x to the power n work for negative values of n? Does it work for negative values of x? Indicate what happens if it is called for each...
Forum: Java Mar 28th, 2008
Replies: 1
Views: 1,515
Posted By Noliving
This is the first time I have ever had to do a simulation type program. This is what I'm trying to do:

Your application should use an array of tellers (10 tellers would be a good maximum) but on...
Forum: Java Mar 21st, 2008
Replies: 5
Views: 706
Posted By Noliving
I know what it is its offer its not a gsomething word its offer().

So it should be like this I believe(pseudo code)

So basically First check to see if the list is empty, if it is just 'return',...
Forum: Java Mar 21st, 2008
Replies: 5
Views: 706
Posted By Noliving
Maybe I'm thinking get(item) but I don't think that would work at all to begin with.
Forum: Java Mar 21st, 2008
Replies: 5
Views: 706
Posted By Noliving
My question has to deal with the end part of my pseudo code.

Basically the method I'm doing is taking the front name in the queue and moving it to the rear and making the next in line to be the...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
Thank you for your help suresh111_mca. I would also like to thank VernonDozier for helping me.
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
I know that I'm doing the best I can. I'm just posting the error messages so people see what I'm seeing.

You probably saw the second version of the program that I posted that basically cut the...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
Well I now only have these errors:


OrderedList.java:63: operator >= cannot be applied to java.util.ListIterator<E>,Eif (iter >= obj1 && iter<= obj2){^OrderedList.java:63: operator <= cannot be...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
Its the whole package/project.

I've been trying out different versions.

import java.util.*;
/** A class to represent an ordered list. The data is stored in a linked
* list data field.
*...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
If I write the same program this way I get 5 errors instead:

import java.util.*;
/** A class to represent an ordered list. The data is stored in a linked
* list data field.
* @author...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
I thought on a wim chaging the myList too theList might make a difference but I get these errors:

>javac OrderedList.java
OrderedList.java:54: incompatible types
found : java.util.Iterator<E>...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
The errors are pretty much this:

>javac OrderedList.java
OrderedList.java:54: cannot find symbol
symbol : variable myList
location: class OrderedList<E>
return myList.iterator();
...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
I meant line 73 to ignore.

I know if I take out bracket on line 72 I get more errors. Or if I move it.
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
Here is the error message I'm getting

OrderedList.java:71: class, interface, or enum expected
}
^
1 error

Ignore line 72 its just a space.
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,941
Posted By Noliving
I'm not seeing my bracket problem at all!

import java.util.*;

/** A class to represent an ordered list. The data is stored in a linked
* list data field.
* @author Koffman & Wolfgang
*/...
Forum: Java Mar 6th, 2008
Replies: 1
Views: 1,176
Posted By Noliving
Ok I have made some changes, mainly to reflect the testfile that has been given out.

Am I getting on the right track so far for the code that I have to add to the orignal that is in the previous...
Forum: Java Mar 6th, 2008
Replies: 1
Views: 1,176
Posted By Noliving
Ok this is my first time doing iterators in java so bear with.

Here is what my assignment is asking for:

You should add the following methods to the code provided by the authors:
public...
Forum: Java Feb 20th, 2008
Replies: 11
Views: 1,187
Posted By Noliving
Showing results 1 to 40 of 58

 


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

©2003 - 2009 DaniWeb® LLC