Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 88
Search took 0.03 seconds.
Search: Posts Made By: groovicus
Forum: Java May 22nd, 2006, 7:51 AM
Replies: 2
Views: 204
Posted By groovicus
Start out by deciding what you want your...

Start out by deciding what you want your installer to do.... I would assume that you want it to do things like copy files to specified locations, notify users of progress, a GUI for installation...
Forum: Java May 3rd, 2006, 6:51 PM
Replies: 16
Views: 390
Posted By groovicus
What do you mean? Java uses pointers, they're...

What do you mean? Java uses pointers, they're just disguised (they are called references). If Java didn't use pointers, you would never get a "null pointer error"....

Collection c; defines a pointer...
Forum: Java Apr 2nd, 2006, 9:34 PM
Replies: 2
Views: 169
Posted By groovicus
Not that I know anything, but an event that fires...

Not that I know anything, but an event that fires after x seconds would simply be a timer. A time listener, to me, would fire an action when a certain time is observed, the same way an event listener...
Forum: Java Mar 14th, 2006, 5:21 PM
Replies: 8
Views: 330
Posted By groovicus
What specifically are you having a problem with?...

What specifically are you having a problem with? I can't get it to work could mean almost anything. :)
Forum: Java Feb 27th, 2006, 3:52 PM
Replies: 2
Views: 131
Posted By groovicus
m@yb3 j00 @r3 $P311iNg $0M3+hiNg \/\/r0Ng?...

m@yb3 j00 @r3 $P311iNg $0M3+hiNg \/\/r0Ng?

Seriously, I could probably help you figure this out, but I don't understand words like u, m, abt, or wen.... maybe if you could take some time to...
Forum: Java Feb 2nd, 2006, 9:04 PM
Replies: 23
Views: 658
Posted By groovicus
If you already know your way around C++ and C#,...

If you already know your way around C++ and C#, then I think Deitel's books will help you get familiar with the syntax rather quickly. I may be a bit biased though.. I love Deitel's books.

Advanced...
Forum: Java Jan 22nd, 2006, 6:59 PM
Replies: 4
Views: 336
Posted By groovicus
What version of NetBeans are you suing? If you...

What version of NetBeans are you suing? If you are using 4.x and above, all you need to do is add it in the properties menu. I could never figure out how to do it in NetBeans 3.6, but it is pretty...
Forum: Java Jan 8th, 2006, 9:39 AM
Replies: 10
Views: 403
Posted By groovicus
I'm curious as to why you would want to? I'm not...

I'm curious as to why you would want to? I'm not hacking on you, but I can't see any need to do that. There was a timw when Iwanted to be able to dynamically name instances (which sounds sort of...
Forum: Java Jan 7th, 2006, 9:04 AM
Replies: 9
Views: 328
Posted By groovicus
I already knew that. We know how to do asymptotic...

I already knew that. We know how to do asymptotic analysis too :D
Forum: Java Jan 6th, 2006, 10:30 PM
Replies: 9
Views: 328
Posted By groovicus
I must have missed something. How do you figure...

I must have missed something. How do you figure going through a list once is order n^2? There are only n elements, and you only need to iterate through them once.
Forum: Java Jan 2nd, 2006, 3:06 PM
Replies: 10
Views: 333
Posted By groovicus
Talking Yeah.. I'd ask for your money back.. :D

Yeah.. I'd ask for your money back.. :D
Forum: Java Jan 2nd, 2006, 2:15 PM
Replies: 4
Views: 169
Posted By groovicus
Just to follow up, routers inherently are...

Just to follow up, routers inherently are designed to route internal traffic, effectively masking the configuration from the outside world. That is desirable from a security standpoint because you do...
Forum: Java Jan 2nd, 2006, 12:10 PM
Replies: 10
Views: 333
Posted By groovicus
I saw that method also, but to me that isn't...

I saw that method also, but to me that isn't really making the window transparent, but I suppose if it serves the purpose, then why not use it. :)
Forum: Java Jan 1st, 2006, 7:45 PM
Replies: 10
Views: 333
Posted By groovicus
I'm a little fuzzy on this at the moment (it is...

I'm a little fuzzy on this at the moment (it is the day after New Years, after all :P)
Anyway, IIRC, you will have to use JNI because it is the Windows OS that controls how the windows are drawn, so...
Forum: Java Dec 22nd, 2005, 9:11 AM
Replies: 19
Views: 490
Posted By groovicus
Actually, I don't think that will owrk either....

Actually, I don't think that will owrk either. But now that I think about it a little more, I am betting that it would still assign a mnemonic to the key...I'm guessing that it still wouldn't display...
Forum: Java Dec 21st, 2005, 9:20 PM
Replies: 19
Views: 490
Posted By groovicus
Which will only work if you are using the default...

Which will only work if you are using the default text.. he is using drawstring, which is a graphic (not a text string in the strict sense) , which will not work using the method you mentioned. Which...
Forum: C++ Dec 14th, 2005, 9:45 AM
Replies: 6
Views: 259
Posted By groovicus
I have been using the pre-defined templates, and...

I have been using the pre-defined templates, and you are describing pretty much what I am seeing, only it is a horrible jumble of files... when I double click on a button in the IDE, it takes me to...
Forum: C++ Dec 13th, 2005, 8:38 AM
Replies: 6
Views: 259
Posted By groovicus
I am using the .net framework... I'm pretty sure...

I am using the .net framework... I'm pretty sure that once I have time to understand everything that the IDE is throwing at me, I'll be able to figure it out.

Thanks for the input. :)
Forum: Java Dec 12th, 2005, 10:22 PM
Replies: 2
Views: 201
Posted By groovicus
It's comma delimited files BTW. :) I'm not 100%...

It's comma delimited files BTW. :)

I'm not 100% sure I understand your question. A database is merely a stored collection of data, in whatever form you care for it to be. If I have saved 50 text...
Forum: C++ Dec 12th, 2005, 10:11 PM
Replies: 6
Views: 259
Posted By groovicus
Reading from a textarea

In java, when one wants to read text from a text area, they do something like string[] s = textArea.getText();

I am assuming that C++ has something similar, but I sure can't find it in any of the...
Forum: Other Programming Languages Dec 11th, 2005, 11:36 AM
Replies: 4
Views: 198
Posted By groovicus
After doing that, you can start researching...

After doing that, you can start researching Fourier Transform of the Horizontal-Vertical Projections, Transformation Ring Projections, and Optical Character Recognition.

Here is a list of some...
Forum: Java Dec 10th, 2005, 3:54 PM
Replies: 3
Views: 158
Posted By groovicus
It is generally bad form to swallow an exception....

It is generally bad form to swallow an exception. What I mean by swallowing it is that in your try/catch loop, you should at a minumum have a stack dump. That way if there is an error, you will have...
Forum: Java Dec 10th, 2005, 2:16 PM
Replies: 3
Views: 158
Posted By groovicus
I can guarantee that after you figure this out,...

I can guarantee that after you figure this out, it will be simple for you also. I took a quick glance at your code, and there are not any huge errors there (except for swallowing your exception, but...
Forum: Coder's Corner Lounge Dec 10th, 2005, 1:13 PM
Replies: 19
Views: 502
Posted By groovicus
lol@ polyphemus.. Of course.. how stupid of me to...

lol@ polyphemus.. Of course.. how stupid of me to not realize that all Windows operating systems are identical... :)

What I meant to say was that you may need a manufacturers disk for those versions...
Forum: C++ Dec 10th, 2005, 11:37 AM
Replies: 11
Views: 460
Posted By groovicus
I don't know of any sites right off, but there...

I don't know of any sites right off, but there should by any number of sites that have sample code. You should really start with a pencil and paper first though.

For example, suppose I do tech...
Forum: C++ Dec 10th, 2005, 10:52 AM
Replies: 11
Views: 460
Posted By groovicus
I have a few other suggestions before you go...

I have a few other suggestions before you go about coding a media player.. maybe do a small program to see if you can determine if a file exists? Then maybe build on that to see that if a file...
Forum: Coder's Corner Lounge Dec 10th, 2005, 10:35 AM
Replies: 19
Views: 502
Posted By groovicus
Have you set a partition on the disk yet? You...

Have you set a partition on the disk yet? You won't be able to format it until you do so.And since you mention that it shows up in "My Computer", can I assume that it is a secondary disk? Is it...
Forum: Show Off Your Open Source Projects Dec 9th, 2005, 3:37 PM
Replies: 0
Views: 75
Posted By groovicus
Dijkstra's Algorithm

Here is my implementation of Dijkstra's Algo.. It is a little rough, but it works as it is supposed to.

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <list>
using...
Forum: C++ Dec 8th, 2005, 10:22 PM
Replies: 13
Views: 394
Posted By groovicus
<philosophical mode> If directions are pointing...

<philosophical mode>

If directions are pointing to somewhere non-existant, then are they not pointing to somewhere which something does not exist? By definition, isn't that pointing to something,...
Forum: Java Dec 7th, 2005, 9:56 PM
Replies: 19
Views: 490
Posted By groovicus
Your second choice is the only way I can think of...

Your second choice is the only way I can think of since you are overriding the default behavior... otherwise you could assign a hotkey which would automatically do it for you. It is sort of a pain to...
Forum: Coder's Corner Lounge Dec 7th, 2005, 6:12 PM
Replies: 30
Views: 433
Posted By groovicus
My apologies Kilo...it seems I caused your thread...

My apologies Kilo...it seems I caused your thread to go way off track..
Forum: C++ Dec 6th, 2005, 10:03 PM
Replies: 10
Views: 563
Posted By groovicus
@ Kilo: Like I said, it wasn't anything about you...

@ Kilo: Like I said, it wasn't anything about you in particular, and I commend your ambition.. Personally, I would rather pound my head against a wall for hours at a time. In the end, I think we...
Forum: C++ Dec 6th, 2005, 9:13 AM
Replies: 10
Views: 563
Posted By groovicus
Exactly... there is a difference between filling...

Exactly... there is a difference between filling a need (such as 'nix), and just wanting to write an OS because it seems like the cool thing to do (Again Kilo, this is not about you at all, just me...
Forum: C++ Dec 5th, 2005, 10:04 PM
Replies: 10
Views: 563
Posted By groovicus
I'll admit it. I am dumber than a sack of...

I'll admit it. I am dumber than a sack of hammers. What on earth would posess someone to want to write their own OS? Isn't that a bit like wanting to perform brain surgery on one's first day of med...
Forum: Java Dec 5th, 2005, 9:23 PM
Replies: 19
Views: 490
Posted By groovicus
Ditto on the Font Metrics. This might help you a...

Ditto on the Font Metrics. This might help you a little bit:
http://www.ictp.trieste.it/~manuals/programming/Java/tutorial/uiswing/painting/drawingText.html
Forum: Java Dec 4th, 2005, 1:35 PM
Replies: 1
Views: 127
Posted By groovicus
Right off the top of my head; a simple text...

Right off the top of my head; a simple text string, a comma delimited string, a two dimensional array..

Typedefs are on the few things I am beginning to appreciate about c/c++ (no offense to anyone...
Forum: Coder's Corner Lounge Dec 3rd, 2005, 10:05 PM
Replies: 19
Views: 421
Posted By groovicus
EDIT: Content removed

EDIT: Content removed
Forum: C++ Dec 3rd, 2005, 8:18 PM
Replies: 5
Views: 157
Posted By groovicus
So you are saying if I had read the reference a...

So you are saying if I had read the reference a little closer, I would have seen the following:

And being the curious type, I would have looked up setstate(failbit)and found

The devil is in the...
Forum: C++ Dec 3rd, 2005, 7:17 PM
Replies: 5
Views: 157
Posted By groovicus
This works better:PathFinder::PathFinder(string...

This works better:PathFinder::PathFinder(string fileName){

string s;
ifstream fin(fileName.c_str());

while(!fin.eof()){

string from, to;
int wgt = 0;
fin>>from>>to>>wgt;
Forum: C++ Dec 3rd, 2005, 5:39 PM
Replies: 5
Views: 157
Posted By groovicus
ifstream skips first line...

I have a snip of code that is causing me some confusion. I am using ifstream to read in text from a file, and for some reason it is skipping the first line. Normally I would just use iostream, but...
Showing results 1 to 40 of 88

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC