[ create a new paste ] login | about

Link: http://codepad.org/3bN8O9UA    [ raw code | output | fork ]

C++, pasted on Jun 17:
1
2
3
4
5
6
7
8
#include<vector>
int main()
{
     size_t sz1 = 8;
     size_t sz2 = 5;
     if(sz2-sz1<0)
        puts("5<8");
}


Output:
1
2
3
cc1plus: warnings being treated as errors
In function 'int main()':
Line 6: warning: comparison of unsigned expression < 0 is always false


Create a new paste based on this one


Comments: