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

Search:

Type: Posts; User: viperlasson

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    642

    Re: Multiple Inputs

    Well you want your 'cin >> x' inside the while loop so it will keep accepting numbers for the variable. You don't need your 'input' variable, and whenever you have a variable inside your while...
  2. Replies
    6
    Views
    642

    Re: Multiple Inputs

    Copy and paste the code please. It helps us understand your problem better.
  3. Replies
    15
    Views
    2,901

    Re: Array Duplicates

    Bumping my thread for an updated version of this program. Now I need to not display any duplicates and count how many times a number was present in the array. It seems simple, but I can't understand...
  4. Replies
    15
    Views
    2,901

    Re: Array Duplicates

    Got it working, thanks for your help.

    Here is my code


    #include <iostream>
    using namespace std;

    int main()
    {
  5. Replies
    15
    Views
    2,901

    Re: Array Duplicates

    We can't use vectors (haven't learned them just yet) or remove the value from the array (asked not to, but this looks nice), only accepted way she was asking for was two for loops. I think I'm...
  6. Replies
    15
    Views
    2,901

    Re: Array Duplicates

    Yes she did mention using two nested for loops. I'm having trouble with creating the algorithm in the 2nd for loop to check for duplicates. I can only really think of the way to do it if it was...
  7. Replies
    15
    Views
    2,901

    Array Duplicates

    Hi everyone, I'm new and will probably be asking a lot of questions from here on out. I have an assignment where the user inputs 10 integers into an array, then the program is supposed to output the...
Results 1 to 7 of 7


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center