Ubuntu Pastebin

Paste from lyze at Tue, 21 Jun 2016 14:17:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 ~> cat test.c
#include <stdio.h>


#define pi 3.14

int main() {

        printf("pi: %f", pi);

        return 0;
}
 ~> gcc test.c -o out
 ~> chmod u+x out
 ~> ./out
pi: 3.140000%                                                                     ~>
Download as text