[ create a new paste ] login | about

Link: http://codepad.org/Na3y5218    [ raw code | fork ]

benjic - C++, pasted on Mar 25:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include <limits.h>

int main( int argc, char **argv ) {

        int i = 0;
        int a;

        while( i < INT_MAX ) {

                if ( a = i )
                        std::cout << i << ": It's true." << std::endl;
                i++;
        }

        return 0;
}


Create a new paste based on this one


Comments: