投稿されたすべてのコード一覧
title "GUIDを配列変数に変換するコンバーター" objsize 320, 20 sdim guid, 64 : guid = "5CDF2C82-841E-4546-9722-0CF74078229A" input guid button gosub "↓変換↓", *cnv
public final float random(float howbig) {
// for some reason (rounding error?) Math.random() * 3
// can sometimes return '3' (once in ~30 million tries)
// so a check was added to avoid the inclusion of 'howbig'
static public final float map(float value,
float istart, float istop,
float ostart, float ostop) {
return ostart + (ostop - ostart) * ((value - istart) / (istop - istart));
}
/*テスト^皿^*/
#include<stdio.h>
main(){
printf("初カキコ…ども\n");