[ create a new paste ] login | about

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

C++, pasted on Feb 19:
1
2
3
4
5
6
7
8
9
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
cout<<pow(2,3);
getchar();
return 0;
}


Output:
1
2
3
In function 'int main()':
Line 6: error: call of overloaded 'pow(int, int)' is ambiguous
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: