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

Search:

Type: Posts; User: tay.stack

Search: Search took 0.04 seconds.

  1. Replies
    68
    Views
    58,637

    Re: Fun C++ Problem

    My bad, dumb, should've read the posts about the unary operator. Silly oversight, great problem for the class.
  2. Replies
    68
    Views
    58,637

    Re: Fun C++ Problem

    There are four so far... anyone want to see them

    for (i=0; i+n; i--)
    for (i=0; i<n; n--)
    for (i=0;-i<n; i--)
    for (i=0;~i<n; i--)

    Neat question, not a very good introduction. Once someone...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured