What should it look like? As previously suggested, if you output the values used in drawing the histogram to a file, can you see from the...
It's unlikely anyone will give you a line by line breakdown of the entire function. What precisely do you want to know? Have you tried asking...
Yes, it's quite easy to do in C++, just read the file one character at a time, each will be 8 bits, and then you loop over each bit testing if...
To change the code to pass-by-reference instead of pass-by-pointer you need to change * to & in the function parameters, and within the function...
OK I give up. No idea.
Works fine for me in Visual Studio 2008; made a small change to confirm name contains the expected value: string name; cout << "Please Key in...
Where did the error occur? (I'm asking this, because I've asked "What is the error" twice now and got the answer to "Where did the error occur?"...
Well, how do we know if we don't know what the error is. OK, let me say it straight. TELL US THE ERROR.
I don't understand the first question, and the answer to the second is wherever you put the file. It was you that specified the parameters to the...
Well, if you're in your final semester, you should already know that the exact error message is rather essential in helping identifying the cause...
Many compilers have a setting to generate assembly output, why not check if your MIPS compiler has one of those, then you can use the compiler...
Basically you need to look through the program and find out where it queries the dongle, then replace that with code that lets the program...
No, you can't, because the whole point of if/else is to do one thing if an expression is TRUE and another if the expression is FALSE. If you want...
lol
So you've answered my question by pointing out lines that do not error and by not telling me what the error is. So here's my answer. The problem...
What error does it cause, and on what line does the error occur?
I would have thought the best bet for compiling software where you can't install anything is to check if your compiler can be run from a memory...
What I do in cases like this, if I can't step through the code in a debugger, is to start writing "debug" information to a log file, showing where...
for (int i='a'; i<='z'; putchar(i++)) ;
You start out in last position. Then you overtake the other runners one by one. The first one you overtake is in second-to-last place. The last...
Separate names with a comma.