タグ

cに関するir9のブックマーク (4)

  • Goto Fail Goto Fail Products | Teespring

    NOTE: If you are the less-is-more type, there is also a version with only one ONE goto fail: http://teespring.com/goto-fail No idea? Click here!!11! All proceeds (around $2.60 per item before any hassle like taxes, fees or whatnot) will be donated to EFF and FSFE. Available until Thursday!

    Goto Fail Goto Fail Products | Teespring
    ir9
    ir9 2014/02/25
    ずるい
  • parson

    About Parson is a lighweight json library written in C. Features Full JSON support Lightweight (only 2 files) Simple API Addressing json values with dot notation (similiar to C structs or objects in most OO languages, e.g. "objectA.objectB.value") C89 compatible Test suites Installation Run: git clone https://github.com/kgabis/parson.git and copy parson.h and parson.c to you source code tree. Run

    ir9
    ir9 2012/11/07
    C向けJSONパーサ
  • ポインタの裏話

    ポインタの裏話 岡﨑 直観 okazaki at ecei.tohoku.ac.jp http://www.chokkan.org/ @chokkanorg ポインタの裏話 プログラミング演習A 1 このような説明を 覚えていますか? 知らなくても全く問題ありません ポインタの裏話 プログラミング演習A 2 int x = 0; &xは変数xの「アドレス」 「番地」「住所」を返す 変数x 0 &x メモリ空間, 記憶空間 変数xのアド レス(住所) ポインタの裏話 プログラミング演習A 3 ____ / \ 何言ってたんだこいつ? / ⌒ ⌒\ 番地 アドレス ぬるぽ / (●) (●) \ \ / | 、“ ゙)(__人__)" ) __________ \ 。` ⌒゚:j´ ,/ j゙~~| | | | __/ \ |__| | | | || / , \n||

  • C - は「LLですが、なにか?」 - Fabrice Bellard on tcc : 404 Blog Not Found

    2010年08月02日02:30 カテゴリLightweight Languages C - は「LLですが、なにか?」 - Fabrice Bellard on tcc LL Tigerが明けた直後で、文字通りの後の祭りもいいところですが… うれしいものはうれしいので、LLEvalでもサポートはじめました。 #!/usr/bin/tcc -run #include <string.h> char *fizz(int n){ return n % 3 ? "" : "Fizz"; } char *buzz(int n){ return n % 5 ? "" : "Buzz"; } char *fizzbuzz(char *buf, int n){ strcpy(buf, fizz(n)); strcat(buf, buzz(n)); if (!strlen(buf)) sprintf(bu

    C - は「LLですが、なにか?」 - Fabrice Bellard on tcc : 404 Blog Not Found
  • 1