- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Weakness: bullets
- PC Specs
- constantly changing
24 Posted Topics
Re: I've never heard of that, but seeing as how it was assigned to you, it must be doable. Do you have some jumping off point, a textbook, in class notes with an example? | |
Re: One I just recently tried in terms of spyware is a squared [url]http://www.emsisoft.com/en/software/free/[/url] I heard about it from a friend, so I downloaded it. Did a scan with Ad-Aware SE, it found two items, then did one with a squared, and it found 46, so it seems to be pretty … | |
Re: Could you clarify the problem. Is it supposed to be a function and does the array have some max size? | |
Re: I would like to help you, but I don't know if I can for two reasons: I am no good at recursion, and I'm not entirely sure what your problem is asking. So I have two questions for you before I can determine if I can help. Do you have … | |
Re: [quote=zhapool;325407]im a 1st yr IT student, we have a final project this end of class. . . all we have to do is make a program using java. Honestly, java is very hard for me so if i can have a favor please help me to understand it more. . … | |
Re: Please post all the code, split into two sections, one for each function. | |
Re: Your instructor could also be extra devious and give you an array where all the indecies hold the same value. In which case the second smallest number would still be that value | |
Re: [quote=mepnoob2005;338499]Well if you don't like it then stay off my threads. The info I posted can be used for creating custom partitions for ubuntu, debian, kanotix, sidux, and any other linux that likes separate root, home and linux/swap partitions so bug off. This thread is about creating partitions for MEPIS … | |
Re: Do you know how to write functions already? | |
Re: The best thing to do here is to just take your iterative solution, assuming it works, and asking yourself how you can make it recursive. I'm assuming that you have to randomly jumble the letters with each other, and that setCharAt() method does that when two indecies are given. With … ![]() | |
Re: [quote=Cudmore;335859]Have you researched this?[/quote] I second this sentiment, the problem you are asking is one that can be searched for on google quite quickly; however, should you have any more complex problems, or don't understand how to use the API then please feel free to ask. | |
Re: [quote=husslela2;334223]I need to create a Two-Dimensional Array in "row major"order and add up the elements of the row and return the sum in $v0. I know how to set up the data, i just don't know how to manipulate it to get the sum. And I cannot overflow the registers. … | |
Re: [quote=Stoney;332443]Hey everyone. I have a problem. I can't find why my code won't convert Fehrenheit to Celsius. :sad: [code]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CTemp extends JFrame implements ActionListener { private JButton button; public static void main(String[] args) { CTemp frame = new CTemp(); frame.setSize(400, 300); frame.createGUI(); frame.setVisible(true); … | |
Re: [quote=Stoney;333014]Alright it's fixed but now I don't get an exact readout. I get whole numbers but no decimal numbers. If you put in 10 hours for each one it should be like 2.714 but it's rounded to 2. [/quote] So just use parseDouble() | |
Re: [quote=Stoney;332452]I get a tip of $8.0 when I want $8.4. What am I missing here? [code] tip = (amount * percentage) / 100; [/code][/quote] Bam, right there, you have an int times an int divided by an int. Simply change 100 to 100.00 and that should do it. | |
Re: [quote=Dave77;329355]I have a PC I'd like to install Ubuntu on. I burned an iso onto a CD but I dont know how to install it on my second PC. I'm trying to figure it out. When I start the computer it reads "missing operating system". The hard drive was erased … | |
Re: I just downloaded and burned a live CD, I have failed to get any live CD and wireless card to work together, so that wasn't a surprise. What was a surprise was I couldn't use the XGL-whatever thing they had, and I really wanted to try it out. Other than … | |
Re: [quote=dowen;327612]{6,12,4,7,9} How do i write a method name serachMax that receives the list above (as an array of integer) as it's argument and return the largest value in the list [/quote] Hint: for loop [quote=dowen;327612] How do i create a method name countitem that receives that list above (as a … | |
Re: [quote=pty;298177] I've been using it for a while and find that the desktop is more responsive under compiz/beryl. I suggest giving one of the compiz/beryl livecds a try; they should give you a good feel for it before installing[/quote] So is XGL and its counterpart another desktop enviornment like GNOME … | |
Re: Why don't you just include a print statement inside the for loop where you assign the random values? | |
Hi, I am working on a personal program, not homework trust me, and the main engine driving it is a random number generator. Unfortunately, I don't know how to build that engine! To make a long story short, I have objects that have a ranking, from 1 to 10, that … | |
Re: [quote=keithh;310546]So here's the question that I've been thinking over [B]slti $t1,$t0,10 # $t1 = $t0 < 10?[/B] [B]beq $t0,$0, Loop # goto Loop if >=[/B] [B]slti $t1,$t0, 0 # $t1 = $t0 < 0?[/B] [B]bne $t0,$0, Loop # goto Loop if <[/B] [/quote] First off, I don't know C, or … | |
Re: [quote=ulethgeek;61804]so i'm learning MIPS right now and i think i get the hang of things, mind you it's all relatively easy (so i've been told), but i can't seem to get around this one problem. i was given a C++ fragment and need to convert (translate) it directly to MIPS. … | |
Re: I'm confused, are you trying to simply multiply or use exponents? If it is just multiplication you can just use the mult instruction in MIPS, it looks like this mult $s1, $s2. To get the integer use the mflo and mfhi instructions, which look like so mflo $s1, mfhi $s2. … |
The End.