Search:

Type: Posts; User: Amyaayaa

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    4,258

    Oh god, I must do this for my MIPS assembly...

    Oh god, I must do this for my MIPS assembly class. We are trying to prove that local variables are actually zero'd out after exiting a function (in C++) and I haven't done any C++ code since last...
  2. Replies
    25
    Views
    4,258

    I think you answered my question. I need to...

    I think you answered my question.
    I need to write a program to check if C++ zeroes out the local stack variables after a function. I could do this simply by writing a class function variable 'x' ...
  3. Replies
    25
    Views
    4,258

    local stack variables

    Is there a program to test if your local stack variables are zeroed out after exiting a function? If so, how can I go about doing this?
  4. Thread: fstreams

    by Amyaayaa
    Replies
    9
    Views
    1,660

    I don't understand that exactly. Here is what I...

    I don't understand that exactly.
    Here is what I have updated and this still is not working... of course.
    I am going to do a forum search for merge sort.
    We covered it a little in class this last...
  5. Thread: fstreams

    by Amyaayaa
    Replies
    9
    Views
    1,660

    Okay thanks! I am not really sure about how to...

    Okay thanks! I am not really sure about how to input from two files at once, but I am going to mess around with it for awhile and I'm sure I will figure it out. Thanks for the help!
  6. Thread: fstreams

    by Amyaayaa
    Replies
    9
    Views
    1,660

    fstreams

    Can someone help me or give me a hint of how to do this problem?
    I am supposed to have two files of sorted numbers, for example:

    "Section52.cpp" (name of file)
    1
    4
    6
    8
    12
    15
  7. Replies
    2
    Views
    1,559

    how to add sound in ubuntu...?

    I am trying to add sound to this program so that for every generation that appears, it will beep. There is a seperate program that has to be opened with this that I have put below as well. Can anyone...
  8. Replies
    20
    Views
    3,126

    OH!!

    thanks guys!
  9. Replies
    20
    Views
    3,126

    math problem...?

    I am experiencing a runtime error with this program.
    The problem is that if I want one of the weights to be .7 and the other to be .3, it will say there is an error. It should only be saying this if...
  10. Replies
    6
    Views
    1,551

    Thanks guys! That was what I needed!

    Thanks guys! That was what I needed!
  11. Replies
    6
    Views
    1,551

    but I don't understand how to read two different...

    but I don't understand how to read two different objects from a file...??
    I don't understand how I would even read Final 82 ...?
  12. Replies
    6
    Views
    1,551

    question about ifstreams

    I was wondering if someone could tell me how I could do this:
    I had to write this program for an exam last week and I was never clear how to do this, so I know I missed this question but I still...
  13. Thread: fstreams

    by Amyaayaa
    Replies
    2
    Views
    1,002

    fstreams

    I am trying to write a program to practice for an upcoming test that is supposed to take in these names and numbers from a file and then take the average of all the numbers of the file. I am not...
  14. Thread: the enter key

    by Amyaayaa
    Replies
    2
    Views
    912

    the enter key

    I am trying to write a program that needs to use the enter key as a command to go through to the next phase of the program.
    My program shows one instance of something on the screen.
    When I press...
  15. Replies
    3
    Views
    1,067

    I just checked it and that worked. Thank god for...

    I just checked it and that worked. Thank god for this forum.
  16. Replies
    3
    Views
    1,067

    oh HO HO! Thank you!

    oh HO HO! Thank you!
  17. Replies
    3
    Views
    1,067

    fstream dilemma

    Well I thought I had this all figured out. Something is wrong with my logic and I can't figure it out. I am supposed to find the median of a group of numbers in a file that I have created...
  18. Thread: fstream

    by Amyaayaa
    Replies
    2
    Views
    1,087

    Oh thank you thank you thank you what a stupid...

    Oh thank you thank you thank you
    what a stupid little mistake that has wasted so much of my time!
    You rock!
  19. Thread: fstream

    by Amyaayaa
    Replies
    2
    Views
    1,087

    fstream

    I have just learned how to use fstream in my programming class and we are supposed to gather the information from a file we have created which I have named Section51.dat
    The program is supposed to...
  20. Replies
    3
    Views
    5,052

    two dot operator problem HELP!

    This program runs correct until I get to the last function with the two dot-operators in the main. The program ends without giving me what I am asking for. I want it to return the best student and...
  21. Thread: Help?

    by Amyaayaa
    Replies
    1
    Views
    805

    Help?

    I can't understand why it is not returning the right amount of pennies in this program:
    for instance, if I enter item amount is 12.00 and amount tendered is 99.99, it should say number of pennies...
  22. Replies
    4
    Views
    1,388

    this is the program itself

    I'm not really sure... Here is what my program looks like so far.
    It is supposed to implement a cash register.
    The last function (AmountToMakeChangeFor) is supposed to take a parameter...
  23. Replies
    4
    Views
    1,388

    parameter placeholders

    Hi
    I am not really sure how parameter placeholders work and I was wondering if someone could explain it to me. I am dealing with classes and I don't really understand how they work together.
  24. Replies
    3
    Views
    973

    thank you

    wow one little decimal after all of that.... thank you so much
  25. Replies
    3
    Views
    973

    parameter passing..??

    I am having trouble figuring out how to get this program to work correctly and was wondering if someone could give me a little guidance? I know the problem is in the last function...
Results 1 to 25 of 32
Page 1 of 2 1 2