5,727 Posted Topics

Member Avatar for shaclay

[code] while (amount < 1000000) { add interest to amount increase age } [/code]

Member Avatar for jwenting
1
36
Member Avatar for Tekmaven

In my experience the vast majority of all problems people have with any OS and hardware are self-induced. People overclock their systems, install unstable hacked beta drivers because someone told them those are faster, plug in hardware without reading the installation instructions (or not comprehending them when they do read …

Member Avatar for jwenting
0
503
Member Avatar for MrScruff

Check the collections API, there are some sorted implementations you can use. No sorted List is provided but it isn't that hard to make one if you use another collection to back it which is sorted itself (or use that one directly if you have no need of the List …

Member Avatar for jwenting
0
98
Member Avatar for Foxtildawn
Member Avatar for LittleJimmy

Are you too cheap to want to spend some money on keeping your system secure? I've seen and tried free and cheap antivirus solutions and they don't do much of anything except giving you a false sense of security (especially against new virusses, some are moderately effective against old ones)..

Member Avatar for DMR
0
222
Member Avatar for mindspew

Had you purchased it as you're supposed to people might help you. We're not here to support criminals stealing software or anything else. Reported for criminal intent. Hope you gained a nasty virus downloading and installing your pirated software.

Member Avatar for dlh6213
0
228
Member Avatar for H4_Extreme

Use your favourite search engine with the query "how to as questions". One of the first pages listed will be: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url] which explains very well how to ask questions and why questions asked like yours won't get you the answer you're screaming for.

Member Avatar for jwenting
0
124
Member Avatar for crq

headerfiles are not compiled, clear and simple. .o files are compiled compilation units which have not yet been linked, header files are not compilation units.

Member Avatar for Dave Sinkula
0
162
Member Avatar for yvonnemo

you're going about it wrong but you probably knew that already. Here's what to do (I leave it to you to translate that into C++): [code] declare variable for smallest value declare variable for largest value set both to first value in the file while there's more data read new …

Member Avatar for yvonnemo
0
105
Member Avatar for dlh6213

Another addition: NEVER use filesharing programs like Kazaa and NEVER visit sites distributing warez or other pirated stuff. All of them (and their products) come loaded with all kinds of nasties. It's hard enough for experts to prevent getting infested and infected when testing those things to see how they …

Member Avatar for crunchie
0
1K
Member Avatar for dlegend9195

You could do worse than install Ubuntu. Based on Debian, arguably the best distribution around, but made more userfriendly (especially the installation and tools integration).

Member Avatar for DMR
0
363
Member Avatar for mad_cow01
Member Avatar for BrownSuga

Use code tags. Tell exactly what's going on and what's going wrong. I'm not going to read through a hundred lines of malformated code to look for a typo or a missing statement, point me to the correct 10 lines or so and I may take a look.

Member Avatar for jwenting
0
801
Member Avatar for Dani

many companies buy Gooooooogle listings. Do any search and the first several pages of results will typically be paid for.

Member Avatar for seobook
0
186
Member Avatar for sid3ways s13

[quote] Well im getting desperate. I'm in class right now and have to finish an assignment by the end of class which is an hour and 45 minutes away. If anyone happens to see this post please help. Ive got another assignment i need to finish and here it is: …

Member Avatar for alc6379
1
956
Member Avatar for BIT_SAIKAPIAN

If you need basic tutorials you won't master both languages enough to be commercially viable in 6 months. Narue mentioned the one C++ book you MUST read and understand. I don't think there's a single similar book for Java, it would be too thick ;) Simply put: there's no way …

Member Avatar for jwenting
0
116
Member Avatar for mullenmj

Did you really pay for the license? If you have no CDs, no certificates, no nothing it sounds like you didn't. If you got a preinstalled machine and were billed for Windows you may well have been ripped off by a store installing pirated versions of Windows (it happens more …

Member Avatar for jwenting
0
532
Member Avatar for matt_5104

[code] 10 a=1 20 if (a=1) goto 10 [/code] Loopy enough? Not Java of course ;)

Member Avatar for pajac
0
161
Member Avatar for nanosani

Most GOOD documentation is always restricted information inside companies. Check out the Apache project, I think there's documentation for Tomcat and/or other of their projects online. If the docs are as good as (most of) their software they're OK. Have you read "J2EE design and development" by Rod Johnson? It's …

Member Avatar for nanosani
0
156
Member Avatar for cancer10

heard it before, it's one of those things making their way around the net. Still funny though, unless it's true.

Member Avatar for nanosani
0
186
Member Avatar for bbott

And of course they'll record and analyse every call you make to strengthen their personal profile on you just like they do with gmail and searches. Thanks but no thanks.

Member Avatar for jwenting
0
80
Member Avatar for ingeborgdot@yah

There should be detailed instructions included with the flash software. Follow those TO THE LETTER. Also remember that you will need the exactly correct version of the upgrade file. Just the correct chipset or card version isn't enough, most flash updates also are for a particular version of the currently …

Member Avatar for jwenting
0
77
Member Avatar for marceta

[QUOTE=marceta]wat? how is that? $25 for the USB cable, god knows how much for the Soldering Iron, etc? Could u post pics, 3 in 1 sounds phat! also, where did u get it that cheap?[/QUOTE] If you only ever use the soldering iron once it's more expensive, but it can …

Member Avatar for jwenting
0
285
Member Avatar for SWAT

While theoretically possible (after all, the factories do it ;) ) there is a major snagg and that's the availability of parts (meaning: there are none to be had). For schoolwork you don't need massive power, it'll be mainly word processing, a bit of spreadsheet work, programming, and maybe some …

Member Avatar for jwenting
0
87
Member Avatar for crq

the h file contains the declaration of the functions in your intarray.c file. by also including the h file into other c files you can make those functions known without having to rewrite them. Just compile them once and tell the linker to include the compiled file when linking your …

Member Avatar for jwenting
0
89
Member Avatar for oldroad

read all three. Check whether first > second and second > third. Based on those 2 comparisons you should know whether the third comparison (first > second) is needed or not. If it's not needed you should know which number is the greatest. This is the same for any language...

Member Avatar for oldroad
0
58
Member Avatar for jwenting

Installed a new videocard today. Plugged in the powersupply as directed (since when do videocards need powersupply anyway...). Turned on the PC, start MSFS2004, marvel at the graphics. 5 minutes later my screen goes black and the PC boots itself. Try again, same thing. Turn it off, check everything again, …

0
115
Member Avatar for server_crash

Yes you can, but it is likely against the accaptable use policy of the site. What you'd have to do is use an HttpURLConnection to retrieve the page containing the data you want and extract that which you want. A more appropriate solution is to contact the site owners and …

Member Avatar for server_crash
0
75
Member Avatar for grifflyn

Well, all methods in ArrayUtilities are static so can be called without an instance. In fact, using a call of one of them on an instance could result in a warning (depending on compiler settings). Compiling them doesn't give any errors at all here if they're (as they should be) …

Member Avatar for grifflyn
0
206
Member Avatar for barb213ks

1) monitors give off X-rays. These can be detected by a Geiger counter if it's sensitive enough. You apparently don't know much about EM radiation or you'd know this. 2) monitors are now shielded which reduces the emissions greatly. If that shielding is not working properly radiation can still get …

Member Avatar for jwenting
0
795
Member Avatar for jollygreen

You'll have to write your own parser for that. I know of no language that will allow you to do this with just one command. The easiest would be to leave the number as a String (maybe pulling a validation over it to make sure it can be parsed into …

Member Avatar for jwenting
0
900
Member Avatar for 3246251196
Member Avatar for 3246251196
0
347
Member Avatar for jingchak

no, since there is no "the" C/C++ ebook. But there's a lot of good books here: [url]http://www.daniweb.com/techtalkforums/newpostinthread10232.html[/url]

Member Avatar for jingchak
0
163
Member Avatar for tigerxx

[url]http://jakarta.apache.org[/url] and look for POI. It's not perfect in that it doesn't understand all capabilities of MS Word but it understands pretty much all core capabilities.

Member Avatar for jwenting
0
248
Member Avatar for server_crash

That's the problem with your purely linear way of doing things. Create a parsetree and recursively process it from the inside out.

Member Avatar for server_crash
0
831
Member Avatar for themetalmozart

You could start learning English. This includes proper punctuation and use of capitals. Knowing and strictly applying that knowledge to natural languages will help you remain focussed on doing the same while programming.

Member Avatar for Phaelax
0
148
Member Avatar for sugpo

If that's the extend of your C++ knowledge I wonder how you've come so far in your course to get an assigment like the one you posted. Or have you been chased away from another site for once too often asking people to do your homework for you? Every programming …

Member Avatar for Real-tiner
0
172
Member Avatar for xxraveteddyxx

or just page back a page or so in this very forum. Your question comes up and is answered in some detail at least once a week. In fact it happens so often it gets kinda tiring...

Member Avatar for Dave Sinkula
0
206
Member Avatar for caperjack

Norton is utter crap. As HV says their "protection" is extremely weak, and their applications are extremely intrusive. BlackICE is just as bad though. Misses serious intrusions and reports things that are quite harmless.

Member Avatar for HawkeVIPER
0
130
Member Avatar for overXposed
Member Avatar for yas_85
0
121
Member Avatar for kharri5

The classes Integer and NumberFormat have functions for converting between decimal, hex, octal, binary, and pretty much any other system you can think of. No need to do it all yourself, it's right there in the standard API! If you want individual digits out of a string converted, just take …

Member Avatar for kharri5
0
192
Member Avatar for AQWst

have you ever looked at the API docs for Java? There's a very comprehensive entry on the String class, which contains quite a few handy functions including substring, split, indexing functions, etc. etc. etc. Then there's a lot of other classes that provide String handling and manipulation functionality. Maybe if …

Member Avatar for server_crash
0
506
Member Avatar for niamul

Did you recompile it for your 64 bit architecture? If not maybe the compiler optimised away the sizeof(int) causing malloc to allocate space for a 32 bit int. Then when you run on a 64 bit system where the assignment would try to write a 64 bit number, boom. Just …

Member Avatar for niamul
0
171
Member Avatar for George2

1) for HTTP why not use HttpURLConnection instead? 2) HTTP is a stateless protocol meaning the server will close the connection for you. 3) if you close all streams you get from the URLConnection the connection is gone.

Member Avatar for George2
0
242
Member Avatar for pursottam tiwar

Asking private help in public forums is considered extremely rude and should never be done (or in case it is done, honoured). There are several ways in which you can implement a data access layer. You could use EJB, JDO, or roll your own DAO and/or DTO system using for …

Member Avatar for jwenting
0
123
Member Avatar for Tekmaven

Console applications should never clear the screen. They should not even assume they have sole control over the screen below the point they're started from (for example, another application running in the background may well interrupt them to write something to the output itself, this could be the JVM writing …

Member Avatar for freesoft_2000
0
867
Member Avatar for kohkohkoh

Many C++ compilers have an option to output assembly code as part of the compilation process.

Member Avatar for kohkohkoh
0
204
Member Avatar for JimH

make an hashmap of pointers to the variables with the name of the variable as the key. You can then simply look up the pointer by the name of the variable, dereference it, and you have your variable back.

Member Avatar for JimH
0
197
Member Avatar for freesoft_2000

[quote]You have to wonder why ID and Valve didnt turn to one of the many "Hey-make-a-game-in-5-minutes-even-with-3d!" programs on the internet to make their latest creations......[/quote] They did. It took them 3 years to write that program, then 5 minutes to create the game using it ;) There's use for Java …

Member Avatar for alc6379
2
2K
Member Avatar for zack_rage

yes, he clearly didn't follow the installation instructions. As where to find a good compiler: you have one, you just have to use it properly which your failure to read the installation instructions shows you're not doing.

Member Avatar for murschech
0
102

The End.