1,522 Posted Topics
Re: No. Do your own work. | |
Re: [QUOTE=jbennet;1055046]Yeah i had an infinate loop in my java program i wrote which which screwed up and wrote a text file into every folder on my filesystem. Fun times.[/QUOTE] hahaha | |
Re: [quote=william hemsworth;1052699]the only people i see regularly in the list are: [attach]12639[/attach] [/quote] I see myself in there!!! ;) | |
Re: [QUOTE=Ecliptical210;1054681] Sorry about all the commenting in the code, but I find it helps a lot.[/quote] A lot of commenting is a good thing, its a great habit to have, because it helps others read your code and makes it more organized when you have very large projects, comment away. … | |
Re: [URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give help to those that show effort[/URL] | |
Re: Please wrap your code in code tags, simply highlight your code and click the code button at the top of the reply box. From the unformatted code it appears you are trying to declare a method within your constructor, you might have delimiter, aka bracks... { }, problems as well. … | |
Re: Yes you can do this as a console program. An idea would be to have a HashMap, where the key's are each letter from the alphabet, and the corresponding value is the String you want to replace it with. You could read in a text file to populate the HashMap … | |
Re: Alright, lets go through what you need to output step by step. You want to output the original price of the item, which works, although I would change [code]public static void calculatePrice(double amount, int quantity)[/code] to [code]public static void calculatePrice(double [COLOR="Red"]price[/COLOR], int quantity)[/code]This way it is easier to follow all … | |
Re: Being familiar with the Java API, available online [URL="http://java.sun.com/javase/6/docs/api/"]here[/URL], is imperative if you plan to program any further in Java. Another fantastic resource is [URL="http://www.javadocexamples.com"]http://www.javadocexamples.com[/URL]. This has most of the Java API with example code. For instance, if you had looked through that site, you would have found the Random … | |
Re: [QUOTE=serkan sendur;825196]i want to see the names for the poster titles, the ones starting from newbie to ... . is there any complete list of them?[/QUOTE] This question has been asked so many times before. There is no list because Dani wants it to be a surprise, of sorts. [QUOTE=serkan … | |
Re: Do you have to write this method yourself? If not, I'm 99% sure its not part of the standard API. If you just have to use the method some common sense is helpful. Method's are named so that you don't really need to know how they work to use them. … | |
Re: [QUOTE=Farfie;1051882]I should also note that no variables are allowed besides the two that the user inputs as the integer, and digit to be checked for[/QUOTE] I think this requires the use of at least one more variable. I would read the integer in as a string, create an array of … | |
| |
Re: Read the Java tutorial on applets, [URL="http://java.sun.com/docs/books/tutorial/deployment/applet/getStarted.html"]here[/URL]. You are missing a key method every applet needs. | |
Re: [QUOTE=freelancelote;989751]What do you mean by that? Is it some kind of joke I didn't get?[/QUOTE] That is the example for his problem. | |
Re: Welcome! I agree with all of them, go for it and yes it does make sense, a felon with a degree has a better chance than a felon without one. Good Luck! | |
Re: [QUOTE=William Hemsworth;1018600]Heh, I did the same thing, the first time it was williamhemswort[/QUOTE] Hehe, I remember when you were called that, I used to wonder if you had warts everywhere ;) | |
Re: The wheels on the bus go round and round, round and round, round and round... | |
Re: SNIP HAHAH!!! I always loved your way with words. I actually enjoy having you around, an oddball here or there is nice, plus you provide comic relief. | |
Re: It is easy to understand. You look at the top of the page for what topic you are looking for, hover your mouse over it, and then choose a sub-topic. To be a programmer you need to learn to figure somethings out by yourself, especially if they are in plain … | |
Re: I just don't understand the point of it. People like AD complained because they couldn't leave neg rep without destroying someone's rep. So, instead of just having an option for no rep change when leaving a comment, an [B]anonymous[/B] voting system was put in place, that doesn't allow for comments … | |
Re: What are you having a problem with? You told us what your program is supposed to do, and that its not working, but you never told us exactly what part isn't working. | |
Re: [QUOTE=The Dude;1003105]I really like having the list of bases @ top of the page!! I can easily jump to another base w/o hassle!! Anyone else find this usefull??[/QUOTE] What are you talking about? | |
Re: 70 You are experiencing occasional or frequent problems because of the Internet. You should consider their full impact on your life. | |
Re: [QUOTE=mahgobb;989608]What kind of instrument do u play? [/QUOTE] Instruments of torture. | |
Re: Absolutely beautiful. I loved the old blind guy from New Orleans. |
The End.