[ create a new paste ] login | about

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

C, pasted on Nov 14:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include <string>


int main()   
  {
  unsigned short t;
  float waarde;

  waarde = 0;
  for (t=0;t<100;t++)
    {
    waarde += (1-waarde)/256;
    printf("teller = %d waarde = %1.4f",t,waarde);
    };

  return(0);
  };


Output:
1
2
Line 19: error: iostream: No such file or directory
Line 17: error: string: No such file or directory


Create a new paste based on this one


Comments: