Search:

Type: Posts; User: MyntiFresh

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: array query

    by MyntiFresh
    Replies
    6
    Views
    1,098

    Oh, duh! Thanks for pointing that out. So now, as...

    Oh, duh! Thanks for pointing that out. So now, as my program stands, whatever integers I input, they are sorted and output in ascending order. But I don't want the numbers that are repeated to be...
  2. Replies
    11
    Views
    1,198

    Thanks. I got it now!!!

    Thanks. I got it now!!!
  3. Replies
    11
    Views
    1,198

    I've finally gotten my program to output in the...

    I've finally gotten my program to output in the column format I wanted. But I'm having some trouble getting the spacing between everything right. Because the names the user inputs can be different...
  4. Thread: array query

    by MyntiFresh
    Replies
    6
    Views
    1,098

    OK... I've done some revising. But there's still...

    OK... I've done some revising. But there's still something wrong right now. If someone could copy my code into their compiler and see what is happening when you execute it maybe you could tell me...
  5. Thread: array query

    by MyntiFresh
    Replies
    6
    Views
    1,098

    array query

    I'm writing this program right now where the user inputs integers with a limit of 100 integers and entering -999 to denote the end of the list. I'm having some trouble... it seems like the way that I...
  6. Replies
    11
    Views
    1,198

    thanks. I guess the biggest problem I'm having...

    thanks. I guess the biggest problem I'm having right now with the execution is that it's not coming out in table format. I want the names to output in a list, then the votes received to output in...
  7. Replies
    11
    Views
    1,198

    Sorry... yeah, I changed the array to a string...

    Sorry... yeah, I changed the array to a string array (that was my bad). What the program is supposed to do is the user inputs candidate's name and how many votes they received (there are 5...
  8. Replies
    11
    Views
    1,198

    OK.... but my data is still coming out very weird...

    OK.... but my data is still coming out very weird when I execute. Ideas???


    #include <iostream>
    #include <string>
    #include <iomanip>

    using namespace std;

    int main()
  9. Replies
    11
    Views
    1,198

    Help with arrays

    I'm learning to program with arrays and thought I was getting the concept until I executed my program. If someone could point me in the direction of my mistakes I'd really appreciate it.

    ...
  10. Replies
    24
    Views
    4,491

    Thanks. I got it now!

    Thanks. I got it now!
  11. Replies
    24
    Views
    4,491

    Thanks... I've done that and it works.... but I...

    Thanks... I've done that and it works.... but I don't want the program to continue getting numbers. What the program is doing now is when i input 'x' it still asks me for the numbers, then once I've...
  12. Replies
    24
    Views
    4,491

    I haven't learned pointers yet, so I don't know...

    I haven't learned pointers yet, so I don't know what to do. Everything in the program runs fine... I just can't figure out now that I have the menu looping, how do I make it so that the program exits...
  13. Replies
    24
    Views
    4,491

    I don't follow. What do you mean?

    I don't follow. What do you mean?
  14. Replies
    24
    Views
    4,491

    Thanks. It's close now.... but now it's not...

    Thanks. It's close now.... but now it's not exiting when I input x or X. Here's the main function....


    #include <iostream>

    void menu(char&, int&, int&, int&, int&);
    void addFractions(int,...
  15. Replies
    22
    Views
    2,604

    Thanks! I'm very glad to hear that. LOL

    Thanks! I'm very glad to hear that. LOL
  16. Replies
    24
    Views
    4,491

    Duh.... brain fart on that one. Thanks for...

    Duh.... brain fart on that one. Thanks for pointin that out. OK... so I got my program working almost perfectly. But... I want it to keep executing until the user inputs 'x'. Right now it's ending...
  17. Replies
    24
    Views
    4,491

    Ok, been doing some revisions. I'm still getting...

    Ok, been doing some revisions. I'm still getting one error and a warning....
    ~~~~C:\Program Files\Microsoft Visual Studio\MyProjects\Ch8_Ex6_West\Ch8_Ex6_West.cpp(23) : warning C4091: '' : ignored...
  18. Replies
    24
    Views
    4,491

    These are the errors that are showing up. And I...

    These are the errors that are showing up. And I have added the break statements and this is what I'm still getting.

    C:\Program Files\Microsoft Visual...
  19. Replies
    24
    Views
    4,491

    Nope... that's not the problem. I'm still getting...

    Nope... that's not the problem. I'm still getting the same errors.
  20. Replies
    24
    Views
    4,491

    Switches and functions

    Can anyone tell me what I'm doing wrong in this program? I think it has to do with trying to call a function in a switch... but I don't know how else to put it. Help? (I'm just putting in up to the...
  21. Replies
    22
    Views
    2,604

    Thanks. I got it now. Sorry for seeming so dense...

    Thanks. I got it now. Sorry for seeming so dense about this stuff... I'm just learnin'.
  22. Replies
    22
    Views
    2,604

    I want to return the enumerator indentifier...

    I want to return the enumerator indentifier itself, not the enumerator value. But we're supposed to be able to do that using only the one function I have written there. Am I using the wrong kind of...
  23. Replies
    22
    Views
    2,604

    I'm supposed to be able to return the shape of...

    I'm supposed to be able to return the shape of the triangle from the triangleShape function.
  24. Replies
    22
    Views
    2,604

    The point of my program though is on using the...

    The point of my program though is on using the enumeration type. Shouldn't there be another way for me to return what I want it to?
  25. Replies
    22
    Views
    2,604

    But for an enumeration type, aren't "scalene,...

    But for an enumeration type, aren't "scalene, isosceles, etc" variables, not strings? How would I set that up if making it return a string is the only way I can do it?
Results 1 to 25 of 75
Page 1 of 3 1 2 3