5,727 Posted Topics
Re: [code] while (amount < 1000000) { add interest to amount increase age } [/code] | |
Re: 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 … | |
Re: 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 … | |
| |
Re: 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).. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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). | |
Re: you forgot the wait(1000000000); instruction ;) | |
Re: 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. | |
Re: many companies buy Gooooooogle listings. Do any search and the first several pages of results will typically be paid for. | |
Re: [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: … | |
Re: 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 … | |
Re: 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 … | |
Re: [code] 10 a=1 20 if (a=1) goto 10 [/code] Loopy enough? Not Java of course ;) | |
Re: 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 … | |
Re: heard it before, it's one of those things making their way around the net. Still funny though, unless it's true. | |
Re: 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. | |
![]() | Re: 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 … |
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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... | |
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, … | |
Re: 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 … | |
Re: 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) … | |
Re: 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 … | |
Re: 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 … | |
Re: cin returns itself, not the thing(s) it reads from the input. | |
![]() | Re: 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] ![]() |
Re: [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. | |
Re: That's the problem with your purely linear way of doing things. Create a parsetree and recursively process it from the inside out. | |
Re: 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. | |
Re: 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 … | |
Re: 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... | |
Re: 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. | |
Re: program helloworld; begin println('Hello world!'); end; | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
![]() | Re: Many C++ compilers have an option to output assembly code as part of the compilation process. ![]() |
Re: 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. | |
Re: [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 … | |
Re: 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. |
The End.