[ create a new paste ] login | about

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

C++, pasted on Aug 9:
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <cmath>

//double log(const double x) { std::cout << "log!\n"; return x; }

int main(int argc, char *argv[])
{
  std::cout<<log(3.14);
  return 0;
}


Output:
1
1.14422


Create a new paste based on this one


Comments: