5,727 Posted Topics
Re: You won't find any "How to write an IDE in 24 hours" kind of book. Rather you'll have to figure out what skills you need and search for dedicated material for each of them. | |
Re: [code]#include <fstream.h>[/code] and similar aren't correct C++, and are AFAIK no longer supported. Use the correct #include statements instead, a decent C++ book should tell you what they are. Hint: forget the .h | |
Re: [QUOTE=batchprogram;1201175]Haha... I didn't know that c++ classes required a semicolon after the ending right curly brace. [/QUOTE] One of the idiosynchracies of the language. And of course you get an unexpected end of file if it's not there and the file ends :) | |
Re: what's wrong with it to start with is the lack of code tags and formatting. Everything else is irrelevant as that means the code won't get read. | |
Re: at least he was honest as to his intent... Stupid, lazy, homework kiddo, but honest. Not a combination we see a lot. | |
Re: looks more like he's trying to avoid work by having others do it for him. | |
Re: [QUOTE=Lardmeister;1198279]Too bad there isn't a count of the quality of a post.[/QUOTE] number of replies is often a good indicator. Very low AND very high numbers indicate bad posts. | |
Re: [QUOTE=freakvista;1190144]something like this...[/QUOTE] Love it. Instant failed assignment if turned in (if the teacher is any good). | |
Re: It's theoretically impossible for a computer with limited bit depth and memory to represent ALL real numbers in any specific interval. Ergo, it is theoretically impossible to complete this challenge successfully. | |
Re: Your cousin is a fool to want to use an OS that's out of support. | |
Re: read the JDK documentation | |
Re: you could define a margin of error within which the answer should be, maybe. Say the correct answer is 42, but something between 40 and 44 is considered "nearly correct" :) | |
Re: [QUOTE=firstPerson;1195972]I use english, because it the most common in america.[/QUOTE] In my experience bureaucratese and legalese work far better for programming than does English. | |
Re: don't try to do that with strings. Check whether the actual amount (number!) is >1.0 instead, much easier. And btw, you add 4 amounts there, not 3 :) | |
Re: Also, if you're indeed without any real knowledge or experience programming, picking up game programming to start with is not a good idea. It's one of the most complex areas of programming overall, requiring expertise in a multitude of fields that are the trickiest things of all (like high performance … | |
Re: too lazy to even cut and paste your homework assignment? I'm way too busy to open attachments (not to mention paranoid). | |
Re: well, it involves a lot more THAN knowing formulas. I'd start with writing datastructures and associated methods for 3D and 4D mathematics. All those pesky matrix and vector things that you're going to need a LOT when doing your physics engine. Test it, optimise the heck out of it, because … | |
Re: and you're asking that question on a site where 90% of the population are homework kiddos who never do anything at all except dump their assignments here and then get angry when they don't get a solution to turn in as their own in 5 seconds? | |
| |
Re: [QUOTE=apegram;1175215]An apple a day keeps the doctor away. Am I right or am I right. Or am I right.[/QUOTE] you're wrong. There are a lot of people who are actually allergic to apples. Some like me to a very mild degree, we just get diarrhea eating raw apples. Others need … | |
Re: I've more than enough black T shirts to last me through the current ice age, thank you very much. | |
Re: so either it's encrypted, a different version of FP, corrupted, or another datatype entirely. Whichever, it's not as if you're supposed to open and read a file for an application that's not yours. | |
Re: no. You're going to have to bring your own laptop. | |
Re: there is no "best", each has its benefits and drawbacks based on what you actually want to do with them. | |
Re: if you had any common sense you'd know that any such random "research" is utterly useless. | |
Re: why do you have statements outside any method? Read some extreme beginner's tutorial. | |
Re: [QUOTE=tyson.crouch;1194091]Unfortunately, you will require a submit button to send the value to a jsp page. [/QUOTE] No, you don't. You could have some javascript submitting the form without the need to press a button, say on exiting the input control. | |
Re: no, the information provided should be ample for you to write your own code. It's rather trivial after all. | |
Re: You should have kept the one with Windows installed, and got Ubuntu to set up its boot manager to allow multiboot. As is, neither boot manager (Windows or Linux) now knows about the other OS, and the machine will boot the first harddisk it encounters (which appears to be Windows). … | |
Re: [QUOTE=BestJewSinceJC;1194826]To be honest, I thought you were well above the skill level that you are at. [/QUOTE] and no doubt so assumes the teacher because he's been pushing knowledge for quite a while. Can't blame the man if kids aren't paying attention, rather trying to hack school networks to get … | |
![]() | Re: [QUOTE=The Dude;1151959]This is just basically trying to FORGET THE PAST and in my opinion: THE PAST WAS MUCH BETTER!! (The 80s mostly and before)[/QUOTE] No, it's more like not rewriting the past to make it more "modern" :) Most posts to old threads are of the "i wan hlp uregnt … ![]() |
Re: ask specific questions, don't ask people to do your homework. If you're stuck post what you have and tell where you're stumped so people can direct you towards a solution (they may not even give you code, but tell you in words how to go about solving it). The last … | |
Re: ah, another pirate wannabe trying to come up with a halfway convincing crystory to trick people into helping it achieve its goals. | |
Re: [QUOTE=avatarkk;1179328] everyone can teach me???[/QUOTE] I sincerely doubt whether anyone can. | |
Re: and your point with all that ranting (you lost me after the first few paragraphs)? To gain market share you must have (in no particular order) 1) quality 2) marketing 3) sex appeal Microsoft has all 3, Linux has only the first. And the Linux crowd as a whole steadfastly … | |
Re: [QUOTE=zemly;1196106]I am very disappointed with your answer. Thanks..... :-( I will never ask daniweb for help and i will never post on it again..... Good Bye... :-([/QUOTE] don't let the door hit you in the back. You won't be missed. | |
Re: OutOfCodeTagsError, redo from start. NoProblemDescriptionError, program terminated. | |
Re: try every possible combination of substrings, test those for being a series of palindromes. If you find out a possible sequence exists, you're done. If you've tested all possible sequences and found nothing, you're done too. | |
Re: you should have thought and looked better before you posted. | |
Re: what "doesn't work"? For one you don't define "x" anywhere. If defined outside the method, VERY BAD. | |
Re: because php is stupid and knows only about 1 database engine. You can use any database engine with Java, so need to tell it which you're using and how to use it. | |
Re: [QUOTE=ithelp;1195191]That is going to be a tough homework , you may ask your teacher to provide a simpler homework to try with :D .[/QUOTE] Kid can't even find the button to post a new thread instead of hijacking a 5 year old one. What makes you think it's able to … | |
Re: To do something like that, I'd hashmap with the object containing the data as the value and the name as the key. Of course it might not be needed at all. | |
Re: You make it by first typing in the source code, then assembling it. Of course before you type it in you have to start an editor and learn Assembly, then think up how to actually implement the algorithm. We can do none of those things for you. | |
| |
Re: You'll need to write an expression parser. Not a beginner's job, though not all that tricky. There are several books (and no doubt websites) that contain sample code for simple parsers that you can use for inspiration. |
The End.