CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: f00tiefan

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    2,291

    Converting Pseudocode into LC-3 Assembly

    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...
  2. Replies
    0
    Views
    7,555

    Fibonacci in LC-3

    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...
  3. Re: Member function help (Vector adding/deleting)

    It kind of makes sense what you are saying.

    I rewrote my OP for clarity and added code I wrote.
  4. Re: Member function help (Vector adding/deleting)

    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.
    ...
  5. Re: Member function help (Vector adding/deleting)

    I looked at those but I'm still having a bit of trouble
  6. Re: Member function help (Vector adding/deleting)

    Those are more for numbers. I have to input text to a text file and check it/add to it/delete it.
  7. Member function help (Vector adding/deleting)

    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...
  8. Replies
    4
    Views
    3,234

    Re: Slight error in vector code

    I'm not sure how to fix it
  9. Replies
    4
    Views
    3,234

    Slight error in vector code

    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’...
  10. Replies
    11
    Views
    903

    Re: Help on sample midterm problems!!

    Okay I'll try to figure out the rest. Thanks for all your help
  11. Replies
    11
    Views
    903

    Re: Help on sample midterm problems!!

    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?
    ...
  12. Replies
    11
    Views
    903

    Re: Help on sample midterm problems!!

    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...
  13. Replies
    11
    Views
    903

    Re: Help on sample midterm problems!!

    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...
  14. Replies
    11
    Views
    903

    Re: Help on sample midterm problems!!

    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.
  15. Replies
    11
    Views
    903

    Help on sample midterm problems!!

    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...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured