[ create a new paste ] login | about

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

C, pasted on Aug 10:
1
2
3
4
5
6
7
8
9
10
11
int main ()
{
double x = 1;
for (int i=0;i<100;i++)
{
    x = x * pow(.5, 16.66);
    printf("%f", x);
}

return 0;
}


Output:
1
2
3
In function 'main':
Line 4: error: 'for' loop initial declaration used outside C99 mode
Line 6: warning: incompatible implicit declaration of built-in function 'pow'


Create a new paste based on this one


Comments: