- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 13
- Posts with Upvotes
- 13
- Upvoting Members
- 10
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Music, Rock Climbing, Software Engineering, Electrical Engineering, Particle Physics, Diving, Chemistry,
Hello, I am supposed to write a code in MIPS to do the following below. Basically, you enter an integer, and it should check to see if it is a palindrome, and if not it will output the number, and keep adding the numer backwards to it, outputting it, and … |
|
I am trying to write an elevator test program in java. It is suppose to execute the following steps using the methods in the class: 1: Starting from the first-floor. 2: Go to 2nd (update bool GoingUp) 3: Go to 3rd 4: Back to second floor This is what I … |
|
I'm attempting to write a substitution function but am having trouble figuring out how to fix the Error: operator and operand don't agree [circularity] operator domain: ''Z list * ''Z list * ''Z list operand: ''Z list * ''Z list * ''Z in expression: sub2 (x,y,hd z) Code: fun sub2(x, … |
|
I have this cache latency graph and I am trying to figure out how to find the cache block size for L1, L2 and L3 caches from it but I cant find anything on how to do so I was able to guess the total cache size though. ![b7dff2acb9157ada547628f8db6832d0](/attachments/large/3/b7dff2acb9157ada547628f8db6832d0.gif "b7dff2acb9157ada547628f8db6832d0") … |
|
I have built this function which calls a couple other functions to get the oprator and numbers for an arithmetic operation but I get the error `function call: expected a function after the open parenthesis, but received '+`. normaly you invoke addition as (+ 5 6) and multiplication as (\* … |
|
I'm trying to implement a simple recursive list search in SML/NJ but am getting some errors i dont understand. Here is the code: fun find x y = if (null y) then false else if x = hd(y) then true else find(x, tl(y)); Here are the errors: stdIn:130.6-135.22 Error: case … |
|
Hello, well I'm doing a rational class and i'm having trouble with the subtraction part. I have done add, multiply, and division correctly. Therefore, I would like a little help on subtraction, and i'm set. public class Rational { // TODO Auto-generated method stub //Data members private int numerator; private … |
|
I have been trying to implement a partially Dynamically generated GUI but an having trouble with the layout not rendering properly. Simply resizing the window corrects the issue. Here is the problimatic generation code: public void setupBookTabs() { ArrayList<String> bookTabNames = Record.getBookGroups(); for (int i = 0; i < bookTabNames.size(); … |
|
hi everbody i want to lern the Method to instal win Xp from usb disk;thank you :) |
|
Hello how can i check the divisibility of a number without using % / +... I am new at coding so hope someone can help I think my code sucks ..i read forums and this is the best i can do import java.util.Scanner; public class Divbythree { public static void … |
|
I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: … |
|
Hi All, I am having a tablespace named Incident which has eight columns . The first column is index which i kept as auto increment. The columns are 1.index(auto_increment) 2.ticket_no (String) 3.date(String) 4.description (String) 5.priority (int) 6.state (String) 7.follow_up (String) 8.status (String) Now i tried to insert test row in … |
|
Hey guys, I'm tring to develop an android application which will solve differentiation and intgration problems and show the steps to solving it. Like a learning tool for students. But the thing is i cant find a algo which will help me on solving integration. can u guys please help … |
|
I am working on a mapping system to support pathfinding over areas that are too large to hold in memory. The problem i have run into is how to load only a small part of the map when its all linked together and then dynamicaly load more of the map … |
|
Hello, I would like to learn android programming, but have no knowledge in java whatsoever. Do I need to go through a java course first before starting with android, or is there a way to start programming directly with the latter? |
|
Hi DW I've created a project on NaviCoder for java and when I tryied to export the project I had a problem then I redo my project using the Netbeans and that where I was then able to export or should I say build the jar file which is an … |
|
my daughter's android phone will not turn on. Is there any way to get her phone turned on or have her material extracted from the phone instead of doing a hard reset? |
|
my r.java file in android is not updating. i already tried: 1 - clean project 2 - refresh / restart eclipse/computer 3 - all my string are in double quotes |
|
#include <stdio.h> #include <conio.h> #include <malloc.h> #define MAX1 5 #define MAX2 7 int* arr; int* create (int size){ int *arr,i; arr = (int *)malloc (sizeof(int)* size);/*note here size of (int )*size means size of int size no. of times, size is the no of integers in the array*/ for (i=0;i<size;i++){ … |
|
Hello. I am new to Linux and, in effort to learn more, have undertaking a project I am not entirely sure is possible. What I want to do is use my computer (Ubuntu 12.04) to connect all devices in my house much like Windows Play Center (or whatever it is … |
|
I have a piece of Java code where users will get a bunch of outputs (outputs are numbers). I am trying to edit this code so that I can display the output as a Java Applet via webpage. Here's a part of the result I need to show. String s1 … |
|
We all use `this` keyword many times explisit with our instance fields or constructor, however, this refers to* current object*, for example: class Foo imlements ActionListener{ Foo fooObject; public Foo(){ //.... button.addActionListener(this);//this work as we pass the current object reference as an argument //or button.addActionListener(fooObject);// this will compile, but the … |
|
hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring. |
|
Ok so im working on a mapping library for my pathfinding system and im trying to figure out what Data structure would be best to use for rapid calls up to several hundred a second, as low memory usage as possible, and not too difficult to store and load pieces(chunks) … |
|
Ive been working on pathfinding algorithms for a couple weeks now and A Star has me stumped. Right now i am attempting to Pathfind over a maze in a matrix of the form boolean map[x][y][5]; where index 0-3 are the walls on the cells starting on the right with 0, … |
|
I could not get c function calls to work inside of nasm so i wrote my own read integer procedure. Im sure its inefficient and could be greatly imporved but right now I'm interested in where the negative sign went. Any help is greatly apreiciated. ;---------------------------------------------------------; ;reads a 64 bit … |
|
So ive been teaching myself x86 over the last couple days now im trying to call c functions and am getting segmentation faults. if someone could explain how to call them properly that would be great. here is my code: print integer is just he control string %d as i … |
|
Hi, I am trying to do a hotel system where i have written up this code, however i was wondering if the there was a way to make the main program simple. So what im trying to do is the code that ‘Views All rooms’ and ‘Adds customer to room’, … |