No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi everyone, I'm just wondering in Java, if there was a way to just check once for a number in an array? [CODE]for (int i = 0; i < array.length; i++) { if (array[i]>0){ count++; } } [/CODE] This code will check for all positive numbers. Is there a way … |
|
Hey all, I have to program a method that is called makelist, and I'm not sure how to program it. If I already have a list in my external file, how would I grab the list from there? I was thinking of infile.get(char) and keep going until it reaches the … |
|
If this isn't the right place to ask about JVM, then please direct me to the correct place, thank you. :) Anyways, I was wondering about the arraylength command. Would I be able to use that in order to find the length of rows and columns in a predefined matrix? … |
|
Let's say you have some code in the .data section: [CODE]doodle db "*****,3,*****"[/CODE] Is there anyway to change the ,3, into something else? (Perhaps a smiley face or somesuch.) I was thinking if I had the registers all set up, I could do something like: [CODE] ~~assume there is code … |