March 4th, 2012, 10:23 PM
In this program I have to bit shifting when multiplying two numbers together. I know the basis of what the program is supposed to have achieve I just don't know the exact way to implement it as my...
February 16th, 2012, 12:35 AM
So I have my fibonacci code but it doesn't seem to working correctly. Here are the instructions:
1. Write a program in LC-3 assembly language that computes Fn, the nth Fibonacci number.
2. Find...
March 21st, 2011, 08:34 PM
It kind of makes sense what you are saying.
I rewrote my OP for clarity and added code I wrote.
March 21st, 2011, 07:48 PM
That little loop you posted was an attempt at writing the code but I realized it didn't work at all.
And the way they are written are mostly done by my professor, we have to write all the code.
...
March 21st, 2011, 04:38 PM
I looked at those but I'm still having a bit of trouble
March 21st, 2011, 03:27 PM
Those are more for numbers. I have to input text to a text file and check it/add to it/delete it.
March 21st, 2011, 03:10 PM
So here is my code so far. We had to add 3 functions to it, which are in bold. Here are the instructions:
I developed the class PasswordFile which includes functions to create/open a password file...
March 3rd, 2011, 07:09 PM
I'm not sure how to fix it
March 3rd, 2011, 07:00 PM
These are the errors I'm getting:
eqindex.cpp: In function ‘int main()’:
eqindex.cpp:12: error: ‘class std::vector<int, std::allocator<int> >’ has no member named ‘pushback’...
February 17th, 2011, 01:38 PM
Okay I'll try to figure out the rest. Thanks for all your help
February 17th, 2011, 01:21 PM
For part 3 would I have to put in variables then assign the variable the numbers in the Point class?
And then use the move mutator function to move each point a certain amount of units?
...
February 17th, 2011, 12:53 PM
Okay thank you. We've been doing these classes for a while and I kind of understand them. I just struggle to get to class every day because I'm a student athlete.
For Problem 4 how am I...
February 17th, 2011, 12:33 PM
Well for Problem 3 I need to write the member functions of the class. I somewhat know how to do it but not completely. It is pretty straightforward I just don't fully grasp it yet. I have always have...
February 17th, 2011, 12:25 PM
I don't want someone to do my homework so I can turn it in. I need help on my homework so I can learn how to do it.
February 17th, 2011, 02:44 AM
I have a midterm tomorrow, and being the procrastinator that I am I have decided to wait until now to study. Our professor gave us a sample midterm to do and I know how to do the first two, but the...