This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Arial, "Ohruri Regular", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif; | |
} | |
.item-box { | |
position: relative; | |
padding: 0px 0px; | |
} | |
.is-narrow-columns .column { | |
width: 270px; | |
margin-right: 0px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.item-box { | |
position: relative; | |
padding: 0px 0px; | |
} | |
.is-narrow-columns .column { | |
width: 270px; | |
margin-right: 0px; | |
} | |
.is-narrow-columns .app-columns { | |
padding-top: 0px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type"text/css"> | |
/* Webフォントの読み込み */ | |
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 17, 2015 */ | |
@font-face { | |
font-family: 'cartoon_blocks_christmasRg'; | |
src: url('/WebFonts/cartoon_blocks_christmas-webfont-t.eot'); | |
src: url('/WebFonts/cartoon_blocks_christmas-webfont-t.eot?#iefix') format('embedded-opentype'), | |
url('/WebFonts/cartoon_blocks_christmas-webfont-t.woff2') format('woff2'), | |
url('/WebFonts/cartoon_blocks_christmas-webfont-t.woff') format('woff'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// "+/","*-","-/","/-" は別途計算しなければいけないので特殊演算子扱いで先に計算する | |
while( (p=strstrs(str,"+/","*-","-/","/-"))!=NULL ){ | |
char *now_p,*p_start,*p_end; | |
now_p = strstrsback(str,p,"+","-","*","/"); //演算子を後方検索で探す | |
if(now_p==NULL){ //NULLだったら=先頭の項だったら | |
n = ptrdiff((p_start=str),p-1); //strの先頭から特殊演算子の手前までポインタ間diff | |
if(n > 10){ | |
e += n-10;n=10; //項が10桁を超えていたらe+N表示のためにeを差分だけ加算 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
char* strchrback(const char *,const char *,int); | |
//strchrの後方検索版。オフセットを指定してそこから_Strの先頭まで探します | |
char* strchrback(const char *_Str,const char *offset ,int _C){ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdarg.h> | |
#include <stdlib.h> | |
int strrep(char*,char*,char*); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdarg.h> | |
#include <stdlib.h> | |
#define va_len(DEST,LIST,LISTPTR,TYPE,ENDOFFLAG) do{char*p;DEST=0;va_start(LIST,LISTPTR);p=LISTPTR;while(p!=ENDOFFLAG){p=va_arg(LIST,TYPE);DEST++;}va_end(LIST);}while(0) | |
#define strstrs( ... ) strstrs_( __VA_ARGS__ ,NULL ) | |
char* strstrs_(char*,char*, ... ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdarg.h> | |
#include <stdlib.h> | |
#define strncpynull( ... ) strncpynull_( __VA_ARGS__ ,1 ) | |
int strncpynull_(char*,char*,size_t, ... ); |