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

Search:

Type: Posts; User: zeroday

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,432

    Re: Help creating a do-while loop.

    oops, in my for loop it should be "i > 0" not what i have, sorry i dont know how to edit posts
  2. Replies
    4
    Views
    1,432

    Re: Help creating a do-while loop.

    Have a counter that counts how many times a user enters a score, then you can do something like:



    while (counter > 0)
    {
    //do whatever you want
    counter--;
    }
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured