Search Results

Showing results 1 to 40 of 42
Search took 0.01 seconds.
Search: Posts Made By: the b
Forum: Java Aug 10th, 2005
Replies: 7
Views: 2,621
Posted By the b
I'm glad this thread is still up, and hopefully someone will look at it again. I guess I have this program basically done, in fact it seems to work just fine on my computer, however when I sent this...
Forum: Java Aug 9th, 2005
Replies: 7
Views: 2,621
Posted By the b
I figured out the problem, in the guiExecution class I had
new guiExecution(results);
and I needed
window = new guiExecution(results);
man do I feel stupid right about now :o thanks for the...
Forum: Java Aug 7th, 2005
Replies: 7
Views: 2,621
Posted By the b
yes, that is correct, the choice made based on the players name, I thought that was a little odd too, but it is a requirement.
Forum: Java Aug 6th, 2005
Replies: 7
Views: 2,621
Posted By the b
Could someone please look over this code and make sure there are no errors in it? I've looked through it again and again and I can't see what's wrong. However when I run the program (a Rock Paper...
Forum: Java Jul 25th, 2005
Replies: 3
Views: 9,414
Posted By the b
I'm making a rock paper scissors game, and in this game there is a nested for loop so that the players challenge each other, the outer loop is supposed to loop through all the players starting with...
Forum: Posting Games May 14th, 2005
Replies: 3,185
Views: 251,844
Posted By the b
. There was a
Forum: C++ May 12th, 2005
Replies: 3
Views: 4,159
Posted By the b
[/code]


actually I did and I got the same results, as for the dialup thing I disconnected and tried your code as well as a few other theories and someone was on the phone when I wanted to post...
Forum: C++ May 10th, 2005
Replies: 3
Views: 4,159
Posted By the b
Hi, I would have replied in the last thread instead of creating a new one again but I have a dial up connection and dad doesn't like me tying up the phone lines at this time in the year. In the last...
Forum: C++ May 9th, 2005
Replies: 3
Views: 4,210
Posted By the b
Ok, I feel pretty stupid asking this, but how would I find the cubed root of a variable? :o
Forum: C++ May 9th, 2005
Replies: 3
Views: 4,210
Posted By the b
Here is a quick question that should be easy to answer. Is there a cubed root function in the C++ library?
Forum: C++ Apr 20th, 2005
Replies: 2
Views: 3,273
Posted By the b
:o Wow, that little bit made me feel kind of dumb, it helped out alot though, thanks. :D
Forum: C++ Apr 19th, 2005
Replies: 2
Views: 3,273
Posted By the b
Hi, it's been awhile since I've been here and the site has changed quite a bit, I like it. Anyway, I attempted to make a basic calculator program, but I'm getting some weird error messages. The error...
Forum: Java Mar 14th, 2005
Replies: 3
Views: 3,058
Posted By the b
That makes alot of sense to me, but it still does not seem to work. I get two errors now (supposedly syntax) that say:
Coins.java [47:1] ')' expected
public static int getQuarters(int...
Forum: Java Mar 11th, 2005
Replies: 3
Views: 3,058
Posted By the b
Hi, I am supposed to write a program for a school assignment that asks the user to enter the amount of coins, and then output the amount in quarters, dimes, nickels, and pennies. That was easy...
Forum: Java Feb 17th, 2005
Replies: 11
Views: 5,373
Posted By the b
Actually I haven't :o how would I start to do this? I have Netbeans IDE version 3.6 as my compiler, and I am running it on windoze xp home.
Forum: Java Feb 16th, 2005
Replies: 11
Views: 5,373
Posted By the b
The file name is the same ( HelloWorld.java ), but here is another error message I get when i try to create the program,
java.lang.NoClassDefFoundError: Mystuff/Empty
Exception in thread "main"
Forum: Java Feb 16th, 2005
Replies: 11
Views: 5,373
Posted By the b
Your guess is right, ( I probably should have said that) but I can not even compile extremely simple programs such as:
public class HelloWorld
{
public static void main(String[] args)
{...
Forum: Java Feb 15th, 2005
Replies: 11
Views: 5,373
Posted By the b
Hi all, does anyone know of a good compiler I can download for java? It would be nice if it was an IDE but it does not have to be. I currently have the j2sdk-1_4 compiler...
Forum: C Jan 4th, 2005
Replies: 6
Views: 2,004
Posted By the b
I just fixed it now, although I did not use a for loop. I look back at the problem and I think "duh, how could I not figure it out before." Anyway here is what it looks like now

void calculate(int...
Forum: C Jan 4th, 2005
Replies: 6
Views: 2,004
Posted By the b
Sorry, here is the entire program.

#include <iostream.h>

struct temperature_node
{
int day;
float temperature;
temperature_node *next;
};
Forum: C Jan 4th, 2005
Replies: 6
Views: 2,004
Posted By the b
yup, I changed the loop to this:
do
{
ptr3->temperature = current_ptr->temperature + ptr2->temperature;
current_ptr = ptr2->next;
ptr2 = current_ptr->next;
}while((current_ptr !=...
Forum: C++ Jan 2nd, 2005
Replies: 6
Views: 7,641
Posted By the b
oops, it looks like 1oo0oobp already told you :O
Forum: C++ Jan 2nd, 2005
Replies: 6
Views: 7,641
Posted By the b
You probably have an else statement in your code but no if. It would be nice to see it but what I said above is almost definitly the problem. :)
Forum: C Jan 2nd, 2005
Replies: 6
Views: 2,004
Posted By the b
Does anyone know what's wrong with this function? The program that uses it runs but does not display the average. I also tried using the sum variable instead of ptr3 and had the same results.

void...
Forum: C++ Dec 20th, 2004
Replies: 10
Views: 41,267
Posted By the b
Yeah the whole current pointer bit made me feel pretty stupid. :o Anyway the program is still not displaying the proper day. I really appreciate the help you have been giving me, and I just wanna say...
Forum: C++ Dec 19th, 2004
Replies: 3
Views: 3,027
Posted By the b
Thank you that helped me out alot :)
Forum: C++ Dec 19th, 2004
Replies: 10
Views: 41,267
Posted By the b
I do not know if anyone is even paying attention to this thread anymore but I found something wrong with the program nevertheless. In my show_temps function I forgot to add current_ptr =...
Forum: C++ Dec 18th, 2004
Replies: 10
Views: 41,267
Posted By the b
Yes, actually this is an assignment, :o but I don't want anybody to do it for me, I just need some hints. As you can probably tell I am very new at this, and I would not be posting here because I...
Forum: C++ Dec 18th, 2004
Replies: 3
Views: 3,027
Posted By the b
I am writing a program that uses a singly linked list. The program is suposed to ask the user for the number of days they have temperatures for and for the corresponding temperature. I seem to be...
Forum: C++ Dec 17th, 2004
Replies: 10
Views: 41,267
Posted By the b
Ok, I have made a few modifications and the program actually runs; but only to a certain point. Just so you have an idea, this program is supposed to consist of asking the user for the number of days...
Forum: C++ Dec 16th, 2004
Replies: 10
Views: 41,267
Posted By the b
I am writing a program using a linked list and I am almost to the point where I can compile and run it but I keep on getting this error message: error C2447: missing function header (old-style formal...
Forum: C++ Dec 14th, 2004
Replies: 1
Views: 4,758
Posted By the b
I have written a program that gets a string from the user and puts the characters on a stack, when the NULL terminator is reached it starts to pop the characters off the stack and display them...
Forum: Windows NT / 2000 / XP Oct 29th, 2004
Replies: 8
Views: 7,827
Posted By the b
Thanx that helped me out alot.
Forum: Windows NT / 2000 / XP Oct 29th, 2004
Replies: 8
Views: 7,827
Posted By the b
The modem is detected in the device manager and it is also enabled. I tried clicking on query modem as you told me to and values did come up under command and response. After I did that I went and...
Forum: Windows NT / 2000 / XP Oct 28th, 2004
Replies: 8
Views: 7,827
Posted By the b
hi, yesterday the modem on my other computer could not be detected and I can't get on the inernet using it. I have a dial up modem 56k and I could get on the net fine for a long time, but something...
Forum: C++ Oct 28th, 2004
Replies: 1
Views: 3,392
Posted By the b
ok I am required to write a program that reads text from one file and writes it to another. I can do that easily enough but the second file the text is wrote to is supposed to have no spaces in...
Forum: C++ Oct 17th, 2004
Replies: 3
Views: 3,039
Posted By the b
Forum: C++ Oct 17th, 2004
Replies: 3
Views: 3,039
Posted By the b
I'm making a program that takes the words from one text or data file and transferes it to another. there are not supposed to be any spaces in the second file. I need to know why I can't make this...
Forum: C++ Oct 8th, 2004
Replies: 4
Views: 4,087
Posted By the b
I'm writing a program that uses functions that I create.It hasn't been much trouble until I got to a point where I am supposed to create a function that calculates the total of everything bought with...
Forum: C++ Sep 25th, 2004
Replies: 2
Views: 1,399
Posted By the b
ok, so where would I add the for loop in? do i get rid of the do-while loop or add it in with it or what? I'm not sure if this really makes a difference but I need to make the program work for...
Showing results 1 to 40 of 42

 


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

©2003 - 2009 DaniWeb® LLC