Forum: Assembly Oct 10th, 2007 |
| Replies: 4 Views: 5,513 All you need to do is loop through the array, have three pointers if you will, one that points at element 1, the other at 2 and the third at 3. In your loop add 1 and 2 and put them in 3. Then... |
Forum: Assembly Oct 7th, 2007 |
| Replies: 4 Views: 5,513 Could you clarify the problem. Is it supposed to be a function and does the array have some max size? |
Forum: Assembly Oct 7th, 2007 |
| Replies: 5 Views: 6,423 Unfortunately I can't help you, we never had to write a bootloader in our class so I have no experience with it, my book doesn't even make any mention of it. Sorry. |
Forum: Assembly Apr 19th, 2007 |
| Replies: 3 Views: 1,434 The main problem I am seeing is that before your jal instructions, you're not passing the parameters, and after the instruction, you're not getting the value out of $v0 , in fact I don't see you... |
Forum: Assembly Apr 18th, 2007 |
| Replies: 3 Views: 1,434 Please post all the code, split into two sections, one for each function. |
Forum: Java Apr 7th, 2007 |
| Replies: 6 Views: 4,645 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 |
Forum: Getting Started and Choosing a Distro Apr 4th, 2007 |
| Replies: 11 Views: 3,870 I'm going to break down your post down into sections to show the absurdity of your claim in your last post.
Repeat what I say, mature
Defending what you said, which is okay, but if you read... |
Forum: Getting Started and Choosing a Distro Apr 4th, 2007 |
| Replies: 11 Views: 3,870 Are you serious? Honestly, you have so many topics dedicated to MEPIS alone, and few were even prompted by questions/problems that people had. I'm no moderater but I think a better place for these... |
Forum: Assembly Mar 31st, 2007 |
| Replies: 2 Views: 1,103 Do you know how to write functions already? |
Forum: Java Mar 29th, 2007 |
| Replies: 6 Views: 1,192 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... |
Forum: Java Mar 28th, 2007 |
| Replies: 3 Views: 1,860 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... |
Forum: Assembly Mar 27th, 2007 |
| Replies: 11 Views: 7,175 I say just post it here and mark it as solved. I'm assuming that your solution involved pointers in MIPS, I don't envy you. |
Forum: Assembly Mar 25th, 2007 |
| Replies: 2 Views: 3,819 I'm assuming this is in MIPS, could you post some code. |
Forum: Windows NT / 2000 / XP Mar 25th, 2007 |
| Replies: 223 Views: 72,749 One I just recently tried in terms of spyware is a squared http://www.emsisoft.com/en/software/free/
I heard about it from a friend, so I downloaded it. Did a scan with Ad-Aware SE, it found two... |
Forum: Java Mar 23rd, 2007 |
| Replies: 8 Views: 1,095 Integer.parseDouble(), where ever you changed the line |
Forum: Java Mar 23rd, 2007 |
| Replies: 8 Views: 1,095 So just use parseDouble() |
Forum: Java Mar 22nd, 2007 |
| Replies: 35 Views: 5,963 Maybe you could post some of your code for us so we could get a better idea of what you need. |
Forum: Java Mar 22nd, 2007 |
| Replies: 8 Views: 7,040 Really, I had no idea you could grab input from a JOptionPane without some sort of getText() method |
Forum: Java Mar 22nd, 2007 |
| Replies: 5 Views: 1,065 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. |
Forum: Java Mar 22nd, 2007 |
| Replies: 8 Views: 7,040 Maybe I'm missing this, but where exactly are you getting the input from the user? |
Forum: Java Mar 22nd, 2007 |
| Replies: 35 Views: 5,963 Well maybe we should keep to one program at a time. |
Forum: Java Mar 20th, 2007 |
| Replies: 35 Views: 5,963 Are you sure you cannot simply print out the number to the string? It is a phonebook, it would be irritating to have to read five-five-five-six-zero-three-four, instead of 555-6034. |
Forum: Assembly Mar 20th, 2007 |
| Replies: 11 Views: 7,175 I've seen only one of those instructions: nop, which is a no operation instruction, basically it says do nothing. The format looks different from the MIPS I learned, and it was recent. Looks like... |
Forum: Getting Started and Choosing a Distro Mar 20th, 2007 |
| Replies: 13 Views: 3,851 The md5 and correctly burning the iso to CD are good places to start, as far as programs and/or step by step instructions, the Ubuntu page has a lot of useful info... |
Forum: Assembly Mar 20th, 2007 |
| Replies: 11 Views: 7,175 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? |
Forum: Java Mar 11th, 2007 |
| Replies: 4 Views: 1,053 Hint: for loop
Hint: while loop |
Forum: Java Mar 11th, 2007 |
| Replies: 35 Views: 5,963 Look, I don't know how to be any clearer in this, if you want help you need to be clearer. Honestly, no one can help if you're going to be so vague. |
Forum: Java Mar 7th, 2007 |
| Replies: 35 Views: 5,963 Okay, calm down. List out: your program description, anything you are not allowed to use, specific trouble you might be having, in an orderly and logical fashion. Then maybe some help can be... |
Forum: Java Mar 6th, 2007 |
| Replies: 35 Views: 5,963 Aside from the rant below, what exactly are the specifications of your assignment? Do you need to have a GUI, have a limit in what data structures you can use? |
Forum: Getting Started and Choosing a Distro Feb 23rd, 2007 |
| Replies: 11 Views: 2,899 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... |
Forum: IT Professionals' Lounge Feb 23rd, 2007 |
| Replies: 13 Views: 8,500 So is XGL and its counterpart another desktop enviornment like GNOME and KDE, or is it something different entirely? Also, this liveCD you mentioned, I've been trying to look for one with what the... |
Forum: Java Feb 21st, 2007 |
| Replies: 3 Views: 2,949 Why don't you just include a print statement inside the for loop where you assign the random values? |
Forum: Assembly Feb 14th, 2007 |
| Replies: 5 Views: 6,423 If you don't have to do it with recursion, why do we need to divide the array into smaller arrays? Aside from that, lets say you have knowledge of all the array sizes, and that they are all the same... |
Forum: Assembly Feb 13th, 2007 |
| Replies: 5 Views: 6,423 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... |
Forum: Java Feb 11th, 2007 |
| Replies: 2 Views: 3,185 I can't emphasize enough that this is not homework, if you read the last part of my first post I try to explain that I want the rank to have some effect on the 'random' choosing of the objects, but... |
Forum: Java Feb 11th, 2007 |
| Replies: 2 Views: 3,185 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... |
Forum: Assembly Feb 8th, 2007 |
| Replies: 3 Views: 5,562 Unless you have some la and lw instructions that you're not putting here, then you are missing the actual putting of values into registers |
Forum: Assembly Feb 8th, 2007 |
| Replies: 3 Views: 2,827 First off, I don't know C, or how to type, I suck at it, but I digress, I do know MIPS. basically, your first beq is checking the wrong register, it should be comparing $t1, since slti instructions... |
Forum: Assembly Jan 27th, 2007 |
| Replies: 2 Views: 10,338 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... |