5,727 Posted Topics

Member Avatar for JoBe

The express edition when you want it on CD costs money. Money to pay for making the CD, the box, etc., and for shipping it to the store. Then the store will want some money for their effort. I don't see a pro edition of Visual C++ 2005, only the …

Member Avatar for jwenting
0
125
Member Avatar for JoBe

if you read the book correctly you'll find out that the grade you're working with here is a single double per student, which is calculated from the total series of grades before being stored in the vector. Keeping 2 vectors in synch with each value in one relating to exactly …

Member Avatar for JoBe
0
285
Member Avatar for nxt2thrill

you should start by learning C++. and by that I mean learn a LOT more about it than you get in a highschool course.

Member Avatar for nxt2thrill
0
107
Member Avatar for sam1

if you can't ping the machine you can't get a network connection to it. That's bad for you, but doesn't mean the server is down. It could be a firewall blocking the ping request somewhere which itself can either mean you're not allowed to access the machine or the machine …

Member Avatar for jwenting
0
85
Member Avatar for nicolamezzetti

You'll need a lib-file for the DLL to satisfy your linker. There should be a tool with your distribution to create that. Then you're likely going to want a headerfile containing the declarations of the functions in the DLL, you're likely having to write that yourself (though some library importers …

Member Avatar for jwenting
0
81
Member Avatar for BaileyFree

well, there is no isDigit method in String, which is what you're calling. There is a static one in Character, which I guess you're thinking you're calling. But you need to do that differently, something like Character.isDigit(ch)

Member Avatar for jwenting
0
133
Member Avatar for Zababa

it can be done easily, though the libraries needed are pretty much platform specific as they depend on operating system calls which themselves rely on hardware calls. Basically you have a loop which polls the keyboard (or waits for input from the keyboard) and quits when input is received (or …

Member Avatar for WolfPack
0
235
Member Avatar for rajuwani121
Member Avatar for jwenting
0
206
Member Avatar for jigvesh
Member Avatar for iamthwee

You should first learn to communicate in regular English, that should make it a lot easier to get your points across as well as making it a lot easier to find resources online and in your library. When I put "cud" into a search engine I will find a lot …

Member Avatar for jwenting
0
230
Member Avatar for BaileyFree

Strings are final. You can't change them once they're created, so you're going to have to create a new String based on the old one. In your specific case you could use String newString = s.replace('b', 'B'); but keep in mind that that will replace ALL lowercase b's in the …

Member Avatar for jwenting
0
157
Member Avatar for Poornima

looks like you're missing a jarfile in your classpath. I don't have Oracle installed here so I can't tell you which one, but the name it gives as missing should be a good indication.

Member Avatar for Kate Albany
0
189
Member Avatar for Croft .L

Or better buy yourself a good modern Java teaching book like HeadFirst Java (2nd edition) or Agile Java.

Member Avatar for jwenting
0
129
Member Avatar for taha umar
Re: hi

[code]string ponter = new string;[/code] Now we have a ponter that is a string :)

Member Avatar for ITgeneration
0
331
Member Avatar for Lothia
Member Avatar for jwenting
0
190
Member Avatar for sam1

you're always going to need to know both the IP address AND the port AND the protocol to successfully talk with any server (and that is assuming you also are allowed to talk to it, know the usernames and passphrases needed, etc.).

Member Avatar for jwenting
0
106
Member Avatar for The Dude

Send them to Vermont where they'll get "counseling" after a token 2 months in prison... According to the judge there you shouldn't punish criminals, but help them readjust to society. I'd say readjust them to society with a noose and a tall tree, or at worst with an M16, but …

Member Avatar for The Dude
0
275
Member Avatar for topito2

the codebase tag serves a similar purpose to the classpath environment setting in that it helps determine where the JVM should get classes for the applet.

Member Avatar for topito2
0
139
Member Avatar for Reuben98

Console output is line based and non-exclusive. Never assume you will have the entire screen or even an entire line at your disposal. So you're not supposed to go back to a previous screen location and write there because it likely no longer contains what you originally wrote there (having …

Member Avatar for Reuben98
0
127
Member Avatar for sam1

Those are warnings, not errors. They're related to things that you're writing having been replaced by other methods and ways of working in the current language specification. The first is because you're not using generics, causing typesafety on Collections to fail. The second is you using an old method that …

Member Avatar for jwenting
0
64
Member Avatar for LiBOC

If you properly set up the application you can exit the application normally (with JVM shutdown) by using the operating system supplied features (like the close icon in the window corner) as well. Something like [code]this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);[/code] in your main application frame should work wonders.

Member Avatar for LiBOC
0
2K
Member Avatar for Jerchrome

That's not Java, that's Javascript, which is something completely different despite the similar name. There's a separate forum for it.

Member Avatar for jwenting
0
88
Member Avatar for Chipsncoke

Modularity. That way you can use it in many places without having duplicate code. It also keeps your classes small, which makes the code easier to read and maintain.

Member Avatar for N[e]tt[e]
0
131
Member Avatar for Angiana
Re: Uml

That's a pretty loaded question, about which libraries full of books have been written. If you're really interested, throw some money into it and get yourself some professional software analysis and design training. I took Sun's OO-226 course which was great, and at just over €2000 for a week very …

Member Avatar for martinig
0
224
Member Avatar for wtmma

There's tons of books about the subject but nothing's better than some professional training if at all possible followed by some serious coaching by an experienced architect/analyst. Try Sun's OO-226 course, it's excellent. I'm sure there are others but that's the one I have experience with and it taught me …

Member Avatar for martinig
0
156
Member Avatar for cltsoi
Member Avatar for StandardsDT

What you get depends on what you want to do with it now and in the future. I've pondered getting a Mac on the side myself for image processing and just to have one ;) but thought why bother. PC works well enough for that for my purposes and I …

Member Avatar for cccc
0
327
Member Avatar for sanjay_scjp

yes, there are libraries that can do that. Apache FOP is a classic example that I've used in the past for similar purposes. It does require extremely strict and correct html to work though.

Member Avatar for clarinetalex
0
357
Member Avatar for judolord

the last 128MB are likely reserved for videomemory. Most laptops use a shared RAM system like that, yet few detail in the sales brochures that the usable RAM is the total RAM minus the videoram.

Member Avatar for dcc
0
122
Member Avatar for rishik_data
Member Avatar for jwenting
0
84
Member Avatar for anisa

yes, people can solve it in theory and practice. In fact many people (including everyone who's ever made a batch based booking system) has already solved it. All that means it's a problem that has a solution and as you want only a simple solution that solution should be easy …

Member Avatar for jwenting
0
96
Member Avatar for phani8123
Member Avatar for dammika

no, I'm not going to help you asap. I MIGHT help you if you ask nicely in a year or so.

Member Avatar for iamthwee
0
166
Member Avatar for sam1

Figure out some logical structure and stick with it, that's the general rule. What that structure actually is is less important than sticking to it. What I generally do is place classes together based on functionality. So in your case I'd make a package for the user interface classes. Under …

Member Avatar for sam1
0
113
Member Avatar for jwenting

I've installed PS Elements 4 (replacing PSP7 and PS Elements 1), but can't get it to work properly in combination with Vuescan. When Vuescan is done scanning it starts PSE4 as required but the new file doesn't load. When using the same setup (set the application to be used in …

Member Avatar for jwenting
0
135
Member Avatar for mcathymatthew

Start with doing extensive research into the subject, and then determine whether it's feasible for your experience and deadline (if you have to ask whether something like this is even possible I'd guess to conclude in advance that it's not feasible for you).

Member Avatar for hari_cseiitb
0
129
Member Avatar for k_en
Member Avatar for deeppython
0
294
Member Avatar for The Dude

You left out Hillary Clinton, first female president of the Ustated Nites.

Member Avatar for The Dude
0
221
Member Avatar for sam1

As said, as long as you use Java only (and not JNI for example) it's pure Java (though technically that term may possibly no longer be used since the software certification program was shut down a few years ago).

Member Avatar for sam1
0
115
Member Avatar for Cap

Best call the responsible department directly. Seems they somehow managed to write something that doesn't work with modern JVMs (Java runtimes).

Member Avatar for jwenting
0
151
Member Avatar for Dani

Another handy one is [b]sort[/b] For example a script that shows disk usage per directory sorted largest first: [code] du $1 > /tmp/du.out sort -k1nr -odu.sort.out /tmp/du.out rm /tmp/du.out [/code] -k1nr tells sort to order the file on the first column, numerically, in reverse order Tried to get it to …

Member Avatar for jackfusion
0
548
Member Avatar for princy
Member Avatar for roryt

The filter works on a blacklist which you set up as you block senders. It works well but is not intelligent enough to anticipate what is spam and what isn't. For a more intelligent solution (which so far is 100% effective on my system after a few weeks of training) …

Member Avatar for Paloma
0
163
Member Avatar for tcp_ip

The mathematics are well described in many publications. For the graphics there are several options, most notably OpenGL and Java2D. Start with studying those separately, then combine that knowledge.

Member Avatar for iamthwee
0
156
Member Avatar for jigvesh

Well, you can create great applications using VI. If you insist on a GUI builder (or WYSIWYDG) Netbeans is the main free offering out there.

Member Avatar for jwenting
0
61
Member Avatar for sam1

well, your code doesn't add the combobox or the label to anything so it wouldn't be displayed.

Member Avatar for jwenting
0
102
Member Avatar for sam1

and of course several 3rd party ones, and you can make your own (if you have too much time on your hands or a very special need).

Member Avatar for jwenting
0
108
Member Avatar for albert85

Never put anything in the common library. That location is for Tomcat internal use. Put them in your web-application's own library path which is <TOMCAT_HOME>/<WEBAPP>/WEB-INF/classes

Member Avatar for jwenting
0
162
Member Avatar for Rajnesh

no, it only compares memory locations. So if 2 references point to the same object in memory it will return true (in which case they obviously point to the same type object as well), if they point to 2 different objects it will return false even if equals returns true …

Member Avatar for Rajnesh
0
172
Member Avatar for Frank0051

Java has pretty decent OpenGL libraries available, search for those. Or you can go straight for painting things on a canvas using Java2D but why take the hard way?

Member Avatar for Frank0051
0
558

The End.