View urandtest.c
#include<stdio.h> | |
#include<stdlib.h> | |
#define FMAX 12 | |
#define RNUM 10000 | |
double randnnA(int ir) | |
{ | |
return ir / (RAND_MAX + 1); | |
} |
View check_listxattr.c
#include <stdio.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/xattr.h> | |
main(int ac, char *av[]) | |
{ | |
int eno = 0; | |
ssize_t rv = 0; |
View test.rb
a=[1, 2, 3], b=[4, 5, 6], c=[7, 8, 9] | |
p a[1] | |
p b[1] | |
p c[1] |
View gradation2.pde
size(200, 200); | |
colorMode(HSB, 100); | |
background(99); | |
noStroke(); | |
int i; | |
for (i = 0; i <= 3; i = i + 1) { | |
fill(45, 80 - 20 * i, 99); | |
rect(0, 0, 200 - 50 * i, 200 - 50 * i); | |
} |
View testcsv.csv
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 2.
test1,A,0120000000,=0120000000 | |
test2,B,"0120000000",="0120000000" | |
test3,C,none,=none | |
test4,D,"none",="none" |
View furikaekyujitsu_list.csv
平成28年(2016年)の月日 | 平成28年(2016年)の理由 | 平成29年(2017年)の月日 | 平成29年(2017年)の理由 | 平成30年(2018年)の月日 | 平成30年(2018年)の理由 | |
---|---|---|---|---|---|---|
2017/1/2 | 元日の振替休日 | 2018/2/12 | 建国記念の日の振替休日 |
View doublepp.c
#include<stdio.h> | |
int main() | |
{ | |
double n = 0.0; | |
double x = 0.0; | |
for (n = 0; n <= 30; n++) { | |
x = 0.1 * n; | |
printf("%.16e %.16g\n", x, n); | |
} | |
return 0; |
View intpp.c
#include<stdio.h> | |
int main() | |
{ | |
int n = 0; | |
double x = 0.0; | |
for (n = 0; n <= 30; n++) { | |
x = 0.1 * n; | |
printf("%.16e %d\n", x, n); | |
} | |
return 0; |
View modcheck.c
#include<stdio.h> | |
#include<stdlib.h> | |
int main() | |
{ | |
int a[4] = {3, -3, 3, -3}; | |
int b[4] = {8, 8, -8, -8}; | |
int i = 0; | |
div_t r, rx; |
View new_document.spd
:terminal 開始 | |
:comment コメント文 | |
:comment PAD図でGOTOは表現出来ない? | |
ブロック1 | |
ブロック2(1)@ | |
ブロック2(2) | |
:comment ブロック3コメント |
OlderNewer