Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 50
Search took 0.22 seconds.
Search: Posts Made By: chiefbutz
Forum: JavaScript programming 06-21-2010, 03:14 PM
Replies: 4
Views: 825
Posted By chiefbutz
The code for all of this is very bad. My boss if...

The code for all of this is very bad. My boss if the one who wrote it and now I have to fix it. The trElement is not a tr tag as one might think. It is a tbody tag. Each row is encased in a tbody...
Forum: JavaScript programming 06-18-2010, 06:29 PM
Replies: 4
Views: 825
Posted By chiefbutz
createElement IE issue

I have a problem that I have been told to fix. The code that is there work perfectly in Firefox, but throws errors in IE and will not work.

var newtbody = document.createElement("tbody");...
Forum: Computer Programming 12-03-2008, 12:18 AM
Replies: 3
Views: 2,370
Posted By chiefbutz
This is for an assignment in a class, so we need...

This is for an assignment in a class, so we need to use C++. As for my complier I am using g++. Also, I have run it through a debugger and the only thing I can see if that the semaphores aren't...
Forum: Computer Programming 12-03-2008, 12:11 AM
Replies: 1
Views: 3,344
Posted By chiefbutz
A .sh file in linux can actually use many...

A .sh file in linux can actually use many different shells. But you are probably wanting either bash or perl. If you use perl the program could also be used on Windows if perl is installed (yes, perl...
Forum: Computer Programming 12-02-2008, 11:16 PM
Replies: 1
Views: 1,377
Posted By chiefbutz
C++ Casting Help

I need a bit of helping with casting. I am working on a program that is multi-threaded using pthread.h and there is one bit of casting that is being a pain.

Here is the output from g++:


Here...
Forum: Computer Programming 11-25-2008, 01:36 AM
Replies: 3
Views: 1,537
Posted By chiefbutz
Thanks, that fixed it. I have another question...

Thanks, that fixed it. I have another question now. I am trying to multiply two float* types together, and I get the following compile error:



any suggestions on that one?
Forum: Computer Programming 11-25-2008, 12:43 AM
Replies: 3
Views: 1,537
Posted By chiefbutz
C++ Type Casting

I am having some trouble casting from float to float* in C++.

Here is an example of what I have (and yes, I need to use float*):

float *MA[4];
MA[0] = (float*)1.0F;
Forum: Computer Programming 11-25-2008, 12:42 AM
Replies: 3
Views: 995
Posted By chiefbutz
Computer Science and Computer Programming are not...

Computer Science and Computer Programming are not the same. Computer Science has way more than just programming. If you just want computer programming go to a community college for an associates...
Forum: Computer Programming 11-23-2008, 04:35 PM
Replies: 3
Views: 2,370
Posted By chiefbutz
Can anyone help?

Can anyone help?
Forum: Computer Programming 11-20-2008, 11:37 PM
Replies: 3
Views: 2,370
Posted By chiefbutz
Linux Semaphore

I am working on an exercise for a Linux programming class I am taking, I am having some trouble. I have 2 semaphores inside a memory segment and when the second semaphore is initialized I get a seg...
Forum: Computer Programming 11-19-2008, 08:38 PM
Replies: 4
Views: 1,523
Posted By chiefbutz
Thanks, I figured out something that I should...

Thanks, I figured out something that I should have thought of earlier. I am using a for loop to copy each character over one by one. It isn't efficient, but it works.
Forum: Computer Programming 11-19-2008, 06:30 AM
Replies: 4
Views: 1,523
Posted By chiefbutz
I am doing an assignment for my unix class and we...

I am doing an assignment for my unix class and we have having to do stuff with semaphores and shared memory and all of those things run on C-Strings. I guess I need to see if there is another way to...
Forum: Computer Programming 11-19-2008, 02:38 AM
Replies: 4
Views: 1,523
Posted By chiefbutz
C++ Type Conversion

I need to convert from type "char (*)[256]" to "char*" because I have a function that requires it. I have tried changing the function, I have tried all kinds of things, but none have worked. I have...
Forum: Java and JSP 07-09-2008, 10:42 PM
Replies: 4
Views: 1,403
Posted By chiefbutz
That did it. All I had to do was replace new...

That did it. All I had to do was replace
new doPrac().run();

with

new Thread(new doPrac()).start();

thank you for your help. I now know how to do threads (I had never used them before)
Forum: Java and JSP 07-09-2008, 04:18 AM
Replies: 4
Views: 1,403
Posted By chiefbutz
I guess code would be helpful wouldn't it....

I guess code would be helpful wouldn't it. Alrighty, here we go.

This is the function that I need to have in a different thread.
private class doPrac implements Runnable
{
public void run()...
Forum: Java and JSP 07-09-2008, 02:24 AM
Replies: 4
Views: 1,403
Posted By chiefbutz
Loop help

Alright, in my program I have a GUI and when you click a button a loop starts. Is there anyway to isolate that loop so that another button can be click to stop it? I have tried putting the loop in a...
Forum: Java and JSP 04-23-2008, 08:27 PM
Replies: 1
Views: 1,436
Posted By chiefbutz
repaint?

I have a window and after an event I rebuild a container that is in the window. currently I empty the container and then re-add the elements to it so get me new container. The container is the...
Forum: Java and JSP 04-23-2008, 08:18 PM
Replies: 4
Views: 24,811
Posted By chiefbutz
win was still set to null in the AbstractGame...

win was still set to null in the AbstractGame class
Forum: Java and JSP 04-23-2008, 03:57 PM
Replies: 4
Views: 24,811
Posted By chiefbutz
It is fixed. I got a bit of help elsewhere.

It is fixed. I got a bit of help elsewhere.
Forum: Java and JSP 04-23-2008, 04:39 AM
Replies: 4
Views: 24,811
Posted By chiefbutz
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

I am getting a "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" error, and I need some help. I have tried everything I could think of, and it won't fix it.

Exception in...
Forum: Java and JSP 04-16-2008, 04:45 PM
Replies: 0
Views: 1,024
Posted By chiefbutz
Need a bit of logic help

I will say upfront that this is for a class I am taking. We initially had to make a chess program and have it use the command line. Now we know how to do GUIs and we must make it a GUI chess program....
Forum: Computer Programming 11-13-2007, 09:33 PM
Replies: 0
Views: 875
Posted By chiefbutz
Copy constructor problems

Alright, I will be upfront. This is part of a homework assignment. I have everything coded, I am just getting some errors in my copy constructor and my overloaded assignment operator (operator=). If...
Forum: Computer Programming 10-20-2007, 05:13 PM
Replies: 4
Views: 1,244
Posted By chiefbutz
Oh, ok I think I get what you mean. yeah, that...

Oh, ok I think I get what you mean. yeah, that makes a lot of sense... THANK YOU! :D

I got it working thank you everyone for you help
Forum: Computer Programming 10-20-2007, 03:40 PM
Replies: 4
Views: 1,244
Posted By chiefbutz
I am only reading into the stack the brackets. So...

I am only reading into the stack the brackets. So are you saying that when I read a closing bracket I need to pop off things into another stack to hold them and then check for the opening bracket? I...
Forum: Computer Programming 10-20-2007, 02:33 PM
Replies: 4
Views: 1,244
Posted By chiefbutz
C++ Help with matching delimiters

Alright, I will say this right upfront, this is a homework assignment. I do have most of it done and only need a little help. I read in a file and I have to check for matching brackets ( '(', '[',...
Showing results 1 to 25 of 50

 
Forum Jump

All times are GMT +1. The time now is 01:30 PM.