Search Results

Showing results 1 to 40 of 116
Search took 0.01 seconds.
Search: Posts Made By: Mr.UNOwen
Forum: C++ Sep 28th, 2009
Replies: 3
Views: 235
Posted By Mr.UNOwen
Once again I've solved one bug and got another....

So it turns out you need to define static member outside the class definition in the header file, but now I have another bug. Now when I include...
Forum: C++ Sep 27th, 2009
Replies: 3
Views: 235
Posted By Mr.UNOwen
Well I narrowed my problems, of which I solved one of them. Turns out if you don't have any signals/slots and you place "Q_OBJECT" in your code, things screw up.

The other one appears when I...
Forum: C++ Sep 25th, 2009
Replies: 3
Views: 235
Posted By Mr.UNOwen
Anyone have a clue what would cause the compiler to complain about static members and functions and virtual functions ?

I've written a bunch of stuff with Qt in C++ without this problem. The only...
Forum: C++ Sep 22nd, 2009
Replies: 0
Views: 181
Posted By Mr.UNOwen
Hello,

I'm new to QT and I need a little help making a custom widget . Basically I need to subclass QTableWidgetItem and have it draw a translucent image with a set color in the background. In...
Forum: C May 21st, 2009
Replies: 0
Views: 268
Posted By Mr.UNOwen
Hello,

Does anyone have a clue why using setitimer() and SIGALRM won't work if you modify the terminal using termios.h?

Every time I run it I get segfault or the original signal handler (not...
Forum: Java Mar 25th, 2009
Replies: 1
Views: 239
Posted By Mr.UNOwen
Hello,

I know Java and Objective C are totally different languages, but I thought may be since both are object oriented languages, there maybe some similarities between the two to help me make the...
Forum: Java Jan 24th, 2009
Replies: 1
Views: 381
Posted By Mr.UNOwen
Hello,

I'm creating a program that involves coloring an image thats is gray scaled and has a transparent background.

How do I do that?
Forum: Java Dec 31st, 2008
Replies: 4
Views: 403
Posted By Mr.UNOwen
Doesn't event handling get blocked out when repaint is called? So if I press a button it might not detect because it's in the middle of a paint method?

Also what's the best way to do animation, ...
Forum: Java Dec 30th, 2008
Replies: 4
Views: 403
Posted By Mr.UNOwen
Does anyone know how to do animation with components??? I can't figure out a decent solution.......

Isn't it generally a bad idea to keep calling repaint()?
Forum: Java Dec 29th, 2008
Replies: 4
Views: 403
Posted By Mr.UNOwen
So I know how to do animation and I know to deal with components, but I don't know how to do both. How can I isolate the drawing of the components from the animation? The particular problem I'm...
Forum: Java Dec 28th, 2008
Replies: 6
Views: 493
Posted By Mr.UNOwen
Forum: Java Dec 28th, 2008
Replies: 6
Views: 493
Posted By Mr.UNOwen
Well I figured out some of the issues, the only problem I'm having now is how to draw the components/background behind the button from the button component.
Forum: Java Dec 23rd, 2008
Replies: 6
Views: 493
Posted By Mr.UNOwen
So far what I've understood is that it's a good idea to separate the drawing, UI and data from each other.

After trying to understand the code, I'm even more confused. There's static classes which...
Forum: Java Dec 22nd, 2008
Replies: 6
Views: 493
Posted By Mr.UNOwen
Hello,

So I'm thinking of creating a few programs that don't use the provided components like the Button class. Basically I want to create components like a button, text field... etc, but with...
Forum: Java Aug 17th, 2008
Replies: 5
Views: 850
Posted By Mr.UNOwen
Actually I just copied and pasted those commands without realizing what they were....... I'm using Ubuntu, so I'm clueless in regard about where anything is located in Ubuntu. What would the command...
Forum: Java Aug 17th, 2008
Replies: 5
Views: 850
Posted By Mr.UNOwen
I"M STUCK!!!!!!! (step 5 in the tutorial)
Let me know what I screwed up on......
Is there an easier way to link c and java?????


Error:


C code:
Forum: Java Aug 16th, 2008
Replies: 5
Views: 850
Posted By Mr.UNOwen
Hello,

So I'm following this tutorial (http://www.csharp.com/javacfort.html) to learn how to link java with C and I want to be able to link java to two C programs (one for linux and one for...
Forum: C Aug 16th, 2008
Replies: 4
Views: 1,541
Posted By Mr.UNOwen
Well I just figured out how to send with hex values, so #3 is answered.

I got it to work, but now I'd like know what each line of code is really doing.

BTW does anyone know an accurate way to...
Forum: C Aug 15th, 2008
Replies: 4
Views: 1,541
Posted By Mr.UNOwen
Thanks. Well I found some code online that semi-works, but there's a number of things I need to know. (BTW I'm still a novice at C).

1. What does " O_RDWR | O_NOCTTY | O_NDELAY" mean and what...
Forum: C Aug 14th, 2008
Replies: 4
Views: 1,541
Posted By Mr.UNOwen
Hello,

This is similar to the thread I did a while back, except this time I need to do it under linux. I'm using the latest version of Ubuntu. Can some some one show me how to send information...
Forum: HTML and CSS Jul 29th, 2008
Replies: 5
Views: 908
Posted By Mr.UNOwen
Forum: HTML and CSS Jul 27th, 2008
Replies: 5
Views: 908
Posted By Mr.UNOwen
Thanks, but I'm a little lost in all the code. Could you break it down for me.

Where do I load all the pictures?
How do I go about specifying where the image is to display? (is it same as...
Forum: HTML and CSS Jul 25th, 2008
Replies: 5
Views: 908
Posted By Mr.UNOwen
Hello,

I just started using HTML and I need help making a web page for someone. The trouble I'm having is that I don't know how to change images when the mouse is over a link (the link is not the...
Forum: C++ Jun 19th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
Thanks

Is it just me, or does it seem that c++ is unfriendlier than Java. -_-
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
I'm finding the documentation to be frustrating, I'm so accustomed to Java documentation.

ok, so if I want to send the two bytes 01000000 10000000, is this correct

// by buffer I'm assuming...
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
Well I figured out most the parameters, but one. I couldn't find the class (or what ever else it could be) LPCVOID. I know it's supposed to hold the data but what is LPCVOID?

So if I'm sending one...
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
ignore #3... I thought it was ' ' instead of ""

Would this work...

FileWriteValue( hCom, {true,false,true,false,true,false,true,false} ) ;

would it send 10101010 ?
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
Thanks

I just have a few more questions.....

Here's the example code provided:
#include <windows.h>
#include <tchar.h>
#include <stdio.h>

int main(int argc, char *argv[])
Forum: C++ Jun 18th, 2008
Replies: 11
Views: 2,438
Posted By Mr.UNOwen
Hello,

I'm new to C++ and I need help figuring out how to send information to the rs232 port. It's going to be one way communication (PC to device). I've tried reading other tutorials, but none...
Forum: Java Jun 5th, 2008
Replies: 0
Views: 485
Posted By Mr.UNOwen
Hello,

So I was thinking of creating a PCB designing program and was wondering if anyone was familiar with the Gerber and NC file format. Anyone have any advise about how to go from a design made...
Forum: Java May 28th, 2008
Replies: 3
Views: 1,093
Posted By Mr.UNOwen
Never mind problem solved.....

graphics already takes into account where the button is, so I should of displayed the image at 0,0 and not its position.
Forum: Java May 28th, 2008
Replies: 3
Views: 1,093
Posted By Mr.UNOwen
The border now shows, but the problem is still there. The image I want displayed for the button is off center

Here is the code that use those two classes with (FYI: the class extends JFrame)
...
Forum: Java May 28th, 2008
Replies: 3
Views: 1,093
Posted By Mr.UNOwen
Hello,

I created two classes, one extends JButton and the other extends JPanel. In both cases, both overrides the paint method. Basically I'm extending JPanel so I can place an image as the back...
Forum: C Apr 4th, 2008
Replies: 11
Views: 5,016
Posted By Mr.UNOwen
Ok..... at this point I'm going to throw in the towel with USB..... I'm just going to go with RS32 since my dad can help me out with that, but I still need help on the PC end.

How do I read and...
Forum: C Apr 4th, 2008
Replies: 11
Views: 5,016
Posted By Mr.UNOwen
I'm planning on using one of the Microchip PIC micro controllers. Haven't decided which one yet, but it's going to have at least 20 programmable I/O pins
Forum: C Apr 4th, 2008
Replies: 11
Views: 5,016
Posted By Mr.UNOwen
I think the best solution is to make the USB look like a serial (COM) port. If I do that, what would I have to do in C to find that particular port and how would I go about communicating with it? In...
Forum: C Apr 3rd, 2008
Replies: 11
Views: 5,016
Posted By Mr.UNOwen
So what's the easiest way about doing this? By the way, this all can be done in C right? I don't need C++ right?

I just need to create a program that takes a bunch of 1s and 0s as its argument...
Forum: C Apr 3rd, 2008
Replies: 11
Views: 5,016
Posted By Mr.UNOwen
As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how...
Forum: C Mar 22nd, 2008
Replies: 1
Views: 1,796
Posted By Mr.UNOwen
Hello,

Before I switched to Ubuntu, I used to have some cool boot screens for windows and now I want to create some for Ubuntu, but I have no clue where to begin.


What I do know:
- text...
Showing results 1 to 40 of 116

 


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

©2003 - 2009 DaniWeb® LLC