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

Search:

Type: Posts; User: whitevandal

Search: Search took 0.01 seconds.

  1. Replies
    68
    Views
    37,148

    Re: Fun C++ Problem

    i is DEcremented, not INcremented. So i will= -1, -2, -3...etc until it passes -20.
  2. Replies
    68
    Views
    37,148

    Re: Fun C++ Problem

    What about

    int i, n =-20;

    ?

    Took about 5 minutes. I never would have thought of n+1. More than 3 solutions, I guess. : )
Results 1 to 2 of 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center