Search:

Type: Posts; User: steveryan

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    2,375

    Yes! Fantastic solution. I need to do a...

    Yes! Fantastic solution.

    I need to do a little brushing up on the uses for buffer. Seems to do the trick here.

    Thanks to everyone who gave input into this thread :)
  2. Replies
    17
    Views
    2,375

    Your solution has the same issue. If the user...

    Your solution has the same issue. If the user accidentally enters 'w', it does not tell him that he has made an error.
  3. Replies
    17
    Views
    2,375

    Not sure why my father wanted to use an array. ...

    Not sure why my father wanted to use an array.

    I like your other suggestions. One problem though...

    Lets say the user wants to quit. He goes to enter 'q', but accidentally enters 'w'.

    The...
  4. Replies
    17
    Views
    2,375

    Data validation problem

    Hello,

    My father and I have made this calculator. It works, but I want to include data validation so that if the user does not enter 'y' to continue or 'q' to quit, it will tell the user that he...
  5. Replies
    12
    Views
    4,048

    Thank you very much for the explanation and your...

    Thank you very much for the explanation and your help. It makes much more sense now.
  6. Replies
    12
    Views
    4,048

    Gotcha. That looks much better than the way I had...

    Gotcha. That looks much better than the way I had it.

    Also, when you say "recursively" does that refer to how the main was being called from within the main? If it was working, why is it a...
  7. Replies
    12
    Views
    4,048

    Thank you all again very much. I went to bed...

    Thank you all again very much.

    I went to bed last night without having this resolved. Will sleep well tonight!

    :)
  8. Replies
    12
    Views
    4,048

    I was able to make these changes and get the...

    I was able to make these changes and get the warning to go away. I had to put the char* in 3 places (function prototype definition, the variable declaration, and where the function is executed).

    I...
  9. Replies
    12
    Views
    4,048

    Thank you all very much for your help!!! I do...

    Thank you all very much for your help!!!

    I do keep getting this "warning: return makes integer from pointer without a cast"

    I suspect this is because I am returning a string to an int.
    ...
  10. Replies
    12
    Views
    4,048

    I should have seen that the & was missing. ...

    I should have seen that the & was missing.

    Now there is another problem.

    When I enter "0" to quit, it continues rather than quitting.

    Any idea as to why it will not quit?
  11. Replies
    12
    Views
    4,048

    Option to "Continue or Quit" will not work.

    Hello,

    My father and I are learning C with the intention of eventually learning C++.

    This program worked fine until I tried to add a "Continue or Quit" option. I've spent at least 6 hours...
Results 1 to 11 of 11