Update 2014/deak alt code + format/typo checks
The alt code now lets one redefine the coordinates (which was deliberately not obfuscated by the author for this purpose). A casual look at the code would make one think it's not an alt code but it's a fixed version that the author provided if a certain statement was not true (see README.md file) so the only thing that is different is that there is the #ifndef..#define..#endif of coordinates and the fix to compile (missing a return value, possibly also fixed in the README.md file, and an added #include <stdio.h> for putchar(3)).
This commit is contained in:
1 parent
ac132f8f6f
commit
4a946614e8
3 files changed
+50
-16
No files matched your search
+14
-2
@@ -1,6 +1,18 @@
|
||||
#include <stdio.h>
|
||||
double _[]={-2
|
||||
,1,-1.3 ,1.3, 0, 0,0,0
|
||||
#ifndef X1
|
||||
#define X1 -2
|
||||
#endif
|
||||
#ifndef X2
|
||||
#define X2 1
|
||||
#endif
|
||||
#ifndef Y1
|
||||
#define Y1 -1.3
|
||||
#endif
|
||||
#ifndef Y2
|
||||
#define Y2 1.3
|
||||
#endif
|
||||
double _[]={X1
|
||||
,X2,Y1 ,Y2, 0, 0,0,0
|
||||
,0 ,0,50, 80, 0,0,0 ,255
|
||||
, 8,0}; int main (
|
||||
int j) {if (j== 1 ){ if(
|
||||
|
||||
Reference in new issue
Block a user