Search:

Type: Posts; User: Fandango21

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    1,867

    For one thing you should put prototypes of the...

    For one thing you should put prototypes of the functions above main or just place the functions above main otherwise you'll get errors from that. You also set up getCities and getChoice to take no...
  2. Replies
    11
    Views
    3,665

    No problem. I'm still learning C++ myself, and...

    No problem. I'm still learning C++ myself, and coding in general, but glad I could help.
  3. Replies
    11
    Views
    3,665

    Here's your code I modified that you can look at...

    Here's your code I modified that you can look at and kind of see with better indentations,working while loop and such. Let me know if you have any questions about the changes.


    #include...
  4. Replies
    11
    Views
    3,665

    endwhile is not declared or initialized. Maybe...

    endwhile is not declared or initialized. Maybe you meant that as a comment to show where the while statements end but it needs // in front if that is the case or just delete them entirely. You also...
  5. Replies
    7
    Views
    1,150

    Thanks Andrew. That's what I just modified the...

    Thanks Andrew. That's what I just modified the highestBalance function to do. It returns the index and now I can use that outside to print what I needed. Thanks everyone for the help!
  6. Replies
    7
    Views
    1,150

    Thanks for mentioning the constant references, I...

    Thanks for mentioning the constant references, I forgot and they will definitely help avoid future confusion and bugs. I found my off by one error only like 10 minutes ago. Wish I would have...
  7. Replies
    7
    Views
    1,150

    I'd love to use vectors and all but the teacher...

    I'd love to use vectors and all but the teacher wants an array. It seems much simpler what you've written and makes sense but I have to stick to basically the format with the functions and array that...
  8. Replies
    7
    Views
    1,150

    C++ program problem..

    Hey everyone. Got a question again that I've been racking my brain on trying to fix it and I haven't been able to yet. The program listed below has to do most of what the functions I have set say...
  9. Help with passing a file into multiple arrays

    Anyone who could give me advice on this, I would greatly appreciate it. I've spent most of my day searching for something that made sense and found a few things but I'm totally stuck at this point. I...
  10. invalid lvalue in assignment for the while loop in my code

    Hello. I need some help with a program I'm writing. It needs to define a function named menu that returns a char and does not accept parameters. Any help is appreciated.

    Currently I have this...
  11. Replies
    5
    Views
    1,879

    You're welcome. I was doing the same thing like 2...

    You're welcome. I was doing the same thing like 2 weeks ago :cool:
  12. Replies
    5
    Views
    1,879

    Yep.

    Yep.
  13. Replies
    5
    Views
    1,879

    What you're doing here is just listing the steps....

    What you're doing here is just listing the steps. Step one, Have the user input value for integer, step 2, double the integer. The idea is that you know how to break down the task into steps. You...
Results 1 to 13 of 13