SHOW:
|
|
- or go back to the newest paste.
| 1 | - | final int something; |
| 1 | + | |
| 2 | - | |
| 2 | + | |
| 3 | - | if ( today == Friday ) |
| 3 | + | WHO EVER JUDT POSTED THIS IS FUCKING AWESOME!!!! |
| 4 | - | something = 7; |
| 4 | + | |
| 5 | - | else |
| 5 | + | |
| 6 | ||
| 7 | ||
| 8 | - | final int something; |
| 8 | + | final int something; |
| 9 | - | |
| 9 | + | |
| 10 | - | if ( today == Friday ) |
| 10 | + | if ( today == Friday ) |
| 11 | - | something = 7; |
| 11 | + | something = 7; |
| 12 | - | |
| 12 | + | else |
| 13 | - | if ( today != Friday ) |
| 13 | + | |
| 14 | ||
| 15 | final int something; | |
| 16 | ||
| 17 | if ( today == Friday ) | |
| 18 | - | #include<stdio.h> |
| 18 | + | something = 7; |
| 19 | - | |
| 19 | + | |
| 20 | - | int main ( void ) |
| 20 | + | if ( today != Friday ) |
| 21 | - | { |
| 21 | + | |
| 22 | - | printf ( "wibblen" ); |
| 22 | + | |
| 23 | - | |
| 23 | + | |
| 24 | - | { |
| 24 | + | |
| 25 | - | const int x = 10; |
| 25 | + | #include<stdio.h> |
| 26 | - | |
| 26 | + | |
| 27 | - | printf ( "x = %dn", x ); |
| 27 | + | int main ( void ) |
| 28 | - | } |
| 28 | + | {
|
| 29 | - | |
| 29 | + | printf ( "wibblen" ); |
| 30 | - | return 0; |
| 30 | + | |
| 31 | {
| |
| 32 | const int x = 10; | |
| 33 | - | const int foo; |
| 33 | + | |
| 34 | printf ( "x = %dn", x ); | |
| 35 | } | |
| 36 | - | int * const foo; |
| 36 | + | |
| 37 | return 0; | |
| 38 | } | |
| 39 | - | int a, b, c; |
| 39 | + | |
| 40 | - | |
| 40 | + | const int foo; |
| 41 | - | a = 12; |
| 41 | + | |
| 42 | - | // do some stuff with a |
| 42 | + | |
| 43 | - | |
| 43 | + | int * const foo; |
| 44 | - | b = 17; |
| 44 | + | |
| 45 | - | // do some stuff with a and b |
| 45 | + | |
| 46 | - | |
| 46 | + | int a, b, c; |
| 47 | - | c = 23; |
| 47 | + | |
| 48 | a = 12; | |
| 49 | // do some stuff with a | |
| 50 | - | int a = 12; |
| 50 | + | |
| 51 | - | // do some stuff with a |
| 51 | + | b = 17; |
| 52 | - | { |
| 52 | + | // do some stuff with a and b |
| 53 | - | int b = 17 |
| 53 | + | |
| 54 | - | // do some stuff with a and b |
| 54 | + | c = 23; |
| 55 | - | { |
| 55 | + | |
| 56 | - | int c = 23; |
| 56 | + | |
| 57 | - | // do some stuff with a, b and c |
| 57 | + | int a = 12; |
| 58 | - | } |
| 58 | + | // do some stuff with a |
| 59 | {
| |
| 60 | int b = 17 | |
| 61 | - | int a = 12; |
| 61 | + | // do some stuff with a and b |
| 62 | - | // do some stuff with a |
| 62 | + | {
|
| 63 | - | |
| 63 | + | int c = 23; |
| 64 | - | int b = 17 |
| 64 | + | // do some stuff with a, b and c |
| 65 | - | // do some stuff with a and b |
| 65 | + | } |
| 66 | - | |
| 66 | + | |
| 67 | - | int c = 23; |
| 67 | + | |
| 68 | int a = 12; | |
| 69 | // do some stuff with a | |
| 70 | - | void func() |
| 70 | + | |
| 71 | - | { |
| 71 | + | int b = 17 |
| 72 | - | int y; |
| 72 | + | // do some stuff with a and b |
| 73 | - | //do assertions |
| 73 | + | |
| 74 | - | assert(something); |
| 74 | + | int c = 23; |
| 75 | - | { |
| 75 | + | |
| 76 | - | int const x = 5; |
| 76 | + | |
| 77 | - | // function body |
| 77 | + | void func() |
| 78 | - | } |
| 78 | + | {
|
| 79 | int y; | |
| 80 | //do assertions | |
| 81 | assert(something); | |
| 82 | {
| |
| 83 | - | const int x; |
| 83 | + | int const x = 5; |
| 84 | - | |
| 84 | + | // function body |
| 85 | } | |
| 86 | } | |
| 87 | ||
| 88 | const int x = 2; | |
| 89 | ||
| 90 | const int x; | |
| 91 | - | const int n = 0; |
| 91 | + | |
| 92 | - | |
| 92 | + | |
| 93 | ||
| 94 | const int * p; | |
| 95 | ||
| 96 | extern const int x; | |
| 97 | ||
| 98 | const int n = 0; | |
| 99 | ||
| 100 | *((int*)&n) = 23; |