-
Replied To a Post in Dev-C++ compilation error
The `ld` program is the linker used by GCC (the default compiler used by the Dev-C++ IDE) when building executables. The permissions issue is most likely a factor of where … -
Began Watching how to display 1's and 2's complement
// random number generator var theDecimal = 0; function newProblem(){ theDecimal = Math.floor(Math.random()*256); //math.floor chops off decimals and rounds document.getElementById("startNumber").innerHTML = theDecimal; } -
Replied To a Post in how to display 1's and 2's complement
I am afraid you're posting in the wrong forum; you want the [JavaScript](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) forum, under Web Development. Despite the names, Java and JavaScript are completely unrelated. -
Began Watching state count
Develope an algorithm that will accept and allocates the fund for the differenct state activities for America's 50th celebration. The algorithm should accept and store the actual dollar value that … -
Replied To a Post in state count
I don't think you understand how things work at DaniWeb. This isn't a free homework solution site. We don't do your prject for you; you have to do the work … -
Replied To a Post in Someone, please help!
Oh, I see what I did wrong, sorry about that. Remove the parens after `data` and it should work. The mistake was because I had made `Node` a separate class … -
Replied To a Post in Mips Display Is Wrong
I probably shouldn't do this but, I've gone through the code and removed all the extraneous system calls (which were the source of the duplicate lines) and fixed a number … -
Replied To a Post in Someone, please help!
You need to alter the `InsertItem()` function so that, instead of always putting the item at the end of the list, it checks to see if the item is less … -
Replied To a Post in Mips Display Is Wrong
Part of the problem you are having is that you aren't concatenating `S2` and `S3` to `S1` in `string4`; instead, you are overwriting the copy of `S1` with `S2`, then … -
Began Watching Mips Display Is Wrong
I have been working on a code that takes three strings, copies one string into another, takes the length of one of the strings, then concatenates the three strings, copies … -
Replied To a Post in Mips Display Is Wrong
One thing I noticed is that I made a mistake in the stack saves, when I first showed you about them, and all the function which use them have duplicated … -
Began Watching DOUBT IN == OPERATOR
hey how to compare longest decimal number using == operator?? -
Replied To a Post in DOUBT IN == OPERATOR
Just what are you comparing for? The equality operator only tells you if they are equal; it won't give you which is the larger of the two. If you mean … -
Began Watching when to usee c++ over java?
when to use c++ over java? -
Replied To a Post in when to usee c++ over java?
Which are you more familiar with, and do you have a C++ library for the database engine? Java has standard library support for database work in general (the standard C++ … -
Replied To a Post in Someone, please help!
A few recommendations: * The first thing I would do with this sort of project is separate the class declaration and implementation from the program using them. If you put … -
Began Watching Someone, please help!
Hello I have to do a sorted list code according to some instructions. a friend and I worked on this, and we pretty much ended up with the same code, … -
Replied To a Post in Someone, please help!
> we are supposed to read a list from a file, (named float.txt, or can be IN visual studio which i forgot how to to do, and searched the internet … -
Replied To a Post in function of two variables
**NO**. Don't go hijacking other people's threads. Don't go dropping your homework on us without any context. And most of all, don't go *demanding* code for a project **you** are … -
Began Watching unsymmetric matrices and their eigen values
Hello, So I have been trying to produce an algorithm for unsymmetric matrices which finds the smallest magnitude eigen value. I have found this:   However, I still … -
Replied To a Post in unsymmetric matrices and their eigen values
The first question I will ask is, how are you representing the matrices? The most common matrix representions in Python would be as a list of lists, or (for constant … -
Began Watching function of two variables
I want to calculate several floating point functions that are a function of two variables, i.e. a(x,y), b(x,y) etc. x and y can be represented as x=i*delx and y=j*dely. So … -
Replied To a Post in function of two variables
First off, you should understand that a Python function is not a function in the mathematical sense of a relationship between a set of values *n<sub>x</sub>* in a domain and … -
Replied To a Post in Mips String Copy, Concatenation and Length
Oops, I dropped a line. That should have read: addi $sp, $sp, -12 # set aside 12 bytes of stack space sw $fp, 0($sp) # save the previous frame pointer … -
Began Watching help| suffel names
hi guys, Hi, I want to create a calendar shifts in C # Board will have four arrays in which there will be names of people Each month the board … -
Replied To a Post in help| suffel names
Guidance, certainly; but source code, no, at least not without you showing the effort you've put into it yourself. Post your design ideas and any code you've written, and we'll … -
Replied To a Post in Printer
sankubha: I think what stultuske means is, is this going to be embedded software inside the printer (i.e., you are writing it for the manufacturer of the printer), or is … -
Replied To a Post in Mips String Copy, Concatenation and Length
OK, to begin with, why are you using the Save ($s*N*) registers to pass arguments, instead of the Arg ($a*N*) registers? I know it may seem like a trivial distinction, … -
Replied To a Post in Mips String Copy, Concatenation and Length
I think you'll have an easier time of it - and a better grade - if you write a general `strcat()` function and call it three times. -
Began Watching Help! Random Game Number
#include <stdio.h> #include <math.h> #include <conio.h> #include <process.h> #include <string.h> void main() { int i, n, diff; int x = rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = … -
Replied To a Post in Help! Random Game Number
The short answer is, `rand()` and `srand()` (which you should call at the beginning of the program before calling `rand()` for the time) are in `<stdlib.h>`, so you need to … -
Began Watching Printer
I need to get printed documents name and from which ip it is printed using java. -
Replied To a Post in Printer
I *think* what the OP is asking for is how to log printed documents and the IP addresses of the originating computers... but I am not sure. What that has … -
Began Watching Stacks help in java?
I'm writing this code for one of my projects. can you please help me with line #6,#7 and #10? I'm not sure if I am writing the code for those … -
Replied To a Post in Stacks help in java?
Please make sure your code is properly indented before pasting it into the postings. If it was indented before, then you may be having problems pasting it. For the meanwhile, … -
Replied To a Post in Mips String Copy, Concatenation and Length
As a piece of advice: since the data you are working with is mostly strings, I'd recommend that you do all the computation (i.e., the calls to `strcpy()`, `strcat()`, and … -
Began Watching coming up with an online booking system
Hi,I want to come up with an online booking system for vehicles in a certain institution.right now am stuck coz am not sure how to go about the many approvals … -
Replied To a Post in coming up with an online booking system
We are willing to help you, but you'll need to show what you've done already, and give us more specific about what help you need. * What have you done … -
Began Watching delete the last and first line in an interval
hey all well i have been facing this problem for days ...i have written a program where i am suppose to read a specific number of lines within different intervals … -
Replied To a Post in delete the last and first line in an interval
Yes, it should allow you to paste code; what browser are you using? If you look at the editing window, you should see a button marked 'Code'. If you click … -
Replied To a Post in Mips String Copy, Concatenation and Length
Did you read my last post? Part of the problem is that you are overwriting the message strings. However, the copy function is also flawed, though in a way that … -
Replied To a Post in Mips String Copy, Concatenation and Length
To elucidate my earlier post: right now, you have `S3` overwriting `S5` when you run `strcpy1()`. You want to declare `S5` as a `.space` of at least 9 bytes (8 … -
Replied To a Post in Mips String Copy, Concatenation and Length
In print2 li $v0, 1 # <--- what type is S5? move $a0, $s0 # get argument from $s0 syscall -
Replied To a Post in Mips String Copy, Concatenation and Length
OK, where is the S1 string being copied to again? Think about it for a bit, and consider what, if anything, is already there. -
Began Watching Mips String Copy, Concatenation and Length
I working on a mips code as extra credit for my Computer Organization and assembly class. The instructions are: Write a program) that will define the following string manipulation functions. … -
Replied To a Post in Mips String Copy, Concatenation and Length
You are using `beqz` for the tests, but you want to use `bnez` (which is actually a macro for `bne x, $zero, label`, but both SPIM and MARS should support … -
Began Watching final year project
i am a final year computer science student and im trying to develop a voice based email system for the blind as my final year project,which means the user can … -
Replied To a Post in final year project
As JWenting says, the research is yours to do. We can only give advice. That having been said, I would start by going over the languages you are already familiar … -
Began Watching C++ programming
I am having problem with programming, i have been given a program to perfom and so far i have benn unable to start..can anyone help me? This is my question..1. … -
Replied To a Post in C++ programming
*Haven't we been here before? Oh, yeah, we have. In that case, let me repeat what I said last time:* First off, don't hijack other people's threads with unrelated questions; …
The End.