[ create a new paste ] login | about

Link: http://codepad.org/6VOOWpSF    [ 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.h>
#include <string.h>


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
Line 21: error: iostream.h: No such file or directory


Create a new paste based on this one


Comments: