Search Results

Showing results 1 to 19 of 19
Search took 0.03 seconds.
Search: Posts Made By: speterson
Forum: Java Jun 15th, 2008
Replies: 1
Views: 453
Posted By speterson
I have to use two seperate classes in seperate files, one is a driver while the other is the program. It has to use an interface, toString, and have no arg default constructor and a full arg...
Forum: Java Dec 3rd, 2007
Replies: 4
Views: 1,446
Posted By speterson
I have already included the actual code for the program so I do not know what help pseudo
code would be. I think the problem has something to do with the random generator class
and how it is set...
Forum: Java Dec 3rd, 2007
Replies: 4
Views: 1,446
Posted By speterson
For a homework assignment, I have to create a random salary generator which is pretty
easy. We have to create a random number of employees, 3-15 only and then the number of
years of that salary...
Forum: Java Nov 1st, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
Now, I hope no one is trying to take the code for themselves, as this is for my class, and the last thing I want to see is everyone using this code, but use it as an example. The new corrected code...
Forum: Java Nov 1st, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
Ok, I feel like an idiot...

I found out what was wrong with the new code. Line 90 shows a pointer j, but originally it was i. When I changed the pointer to i, the averages were working, which...
Forum: Java Nov 1st, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
Alright, I have tried to rewrite it from scratch again with some help. There are two problems, but I think much smaller. The first is error correction, because sometimes the random will go above...
Forum: Java Oct 30th, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
I am such a newb at programming. Where exactly would I put this code? There are several for loops already or is this a totally different method that I would have to create? I am just not grasping...
Forum: Java Oct 29th, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
how would I go about this? I don't totally understand vectors, or where the vector of vectors should go. I thank you for your suggestions. In the mean time, I will take what you have suggested and...
Forum: Java Oct 28th, 2007
Replies: 9
Solved: Sum of Vectors
Views: 1,395
Posted By speterson
In my Java class, we have to randomly create basketball teams and random scores, then average the scores for each team, and average the scores for each game. I am not sure how to average the score...
Forum: VB.NET Dec 10th, 2006
Replies: 3
Views: 1,812
Posted By speterson
Sorry, nevermind, finally got it to work, but I am having problems with trying to subtract from a number only in multiples of 20, such as an ATM would allow only $20 to be withdrawn.
Forum: VB.NET Dec 9th, 2006
Replies: 3
Views: 1,812
Posted By speterson
I am having another problem with a new project for my programming class. We have to create an ATM that the user enters the account and pin number to get to a main menu. The program consists of a...
Forum: VB.NET Dec 2nd, 2006
Replies: 16
Views: 6,200
Posted By speterson
I do not care if somebody uses this whole project for an example, but please, if you have the same or a similar project, do not use this code explicitly because I am sure that google will pick this...
Forum: VB.NET Nov 30th, 2006
Replies: 16
Views: 6,200
Posted By speterson
Hey everybody,

I finally figured out what was wrong, I got help from the instructor, told him all the problems I was having and that I have tried and was looking all over the place. The...
Forum: VB.NET Nov 30th, 2006
Replies: 16
Views: 6,200
Posted By speterson
The only problem with assigning the index with line numbers manually, is that the user may not know how many students or how many records there might be, but it is suposed to be read in without...
Forum: VB.NET Nov 29th, 2006
Replies: 16
Views: 6,200
Posted By speterson
Here, because some people are worried about viruses, which the files I supply do not contain, I have made them into simple text files. The code is using Visual Studios 2005 (VB). If you have Visual...
Forum: VB.NET Nov 29th, 2006
Replies: 16
Views: 6,200
Posted By speterson
To explain my last post, it is the pointer of the structure array that is creating the error. The code that I have is listed below:
...
Forum: VB.NET Nov 28th, 2006
Replies: 16
Views: 6,200
Posted By speterson
In my programming class, the instructor did discuss this project a little more, and made it sound like it would be easier to put one piece of data on per line, and then reading line by line, but when...
Forum: VB.NET Nov 26th, 2006
Replies: 16
Views: 6,200
Posted By speterson
I am having problems with creating a second structure/array that data will be read into from a text file. The data is originally written from a listbox if that matters doing a line by line write. ...
Forum: VB.NET Nov 26th, 2006
Replies: 16
Views: 6,200
Posted By speterson
I am having problems trying to create arrays from text files. The text files created from the program I am working on is like this:

Name Test1 Test2 Test3 Avg Grade...
Showing results 1 to 19 of 19

 


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

©2003 - 2009 DaniWeb® LLC