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

Search:

Type: Posts; User: slappy5star

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,484

    Re: C++ Array comparison not working

    Sorry, I did not realize the site supported the tags, thanks for the heads up!

    So, what elements should I be comparing there? I assumed answer was being taken from the previous input and 'a' was...
  2. Replies
    4
    Views
    1,484

    C++ Array comparison not working

    The following program takes user input into two arrays and should then determine how many items are different by comparing them with a loop. The comparison always show zero correct answers. Any idea...
  3. Replies
    2
    Views
    1,347

    Re: Need help with a logic error please.

    Got it working, thanks!
  4. Replies
    2
    Views
    1,347

    Need help with a logic error please.

    while ((answer != 'A') || (answer != 'B') || (answer != 'C') || (answer != 'D'))

    This section of code accepts no answer, instead of just A B C or D.

    Any thoughts on how I should do this?
    ...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured