タグ

Cに関するchidakaのブックマーク (4)

  • C言語(gccで)

    GTK+のページ(古いです) GTK+のページ(新しいけど少ないです) SDLをまとめ始めました → SDLでなんかする SDLおまけです → mimi_sdl ターゲットは初心者、仕方なくC言語をやる人、プロを目指さない人、のつもり。・・・にしてはちょっと分かりにくいのが難点。 目次 Page 1 初めてのC --- 文字出力 (printf) Page 1-2 文字出力(補足) (putchar, puts) Page 2 コンピュータに計算させる --- 四則演算 Page 3 数字の表示/入力 (printf 2) Page 4 繰り返し処理を行う --- ループ (for, while, do while) Page 5 条件分岐 (if, switch) Page 6 配列 Page 7 ポインタ Page 8 #include Page 9 コンピュータに計算させる ---

  • linux-headersの更新後にglibcをビルドしないと... - 試験運用中なLinux備忘録・旧記事

    カーネルヘッダの更新後にはglibcを再ビルドする必要がある*1、と読んで以来、必ずそうしているのだが、もししなかったらどうなるのかについても含めて [引用] linux-headersインストールログより Kernel headers are usually only used when recompiling your system libc, as such, following the installation of newer headers, it is advised that you re-merge your system libc. Failure to do so will cause your system libc to not make use of newer features present in the updated kernel headers.と、l

    linux-headersの更新後にglibcをビルドしないと... - 試験運用中なLinux備忘録・旧記事
    chidaka
    chidaka 2011/11/25
  • Ubuntuで C言語を使おう | 不定期ソフトウェア開発

    Ubuntu は LinuxLinuxはプログラミングの環境が充実している。 プログラミングを始めるために必要な作業というのが少ないので,すぐに始められる。 Ubuntuなら,C言語で書いたものとスクリプト言語で書いたものも同じ様に使えるので,わざわざC言語を使わなくても,アプリケーションの作成は十分です。実際に,Ubuntu のソフトは スクリプト言語の Python で書かれたソフトも多いし,PerlでもGUIプログラミングが簡単に出来る。(Windowsだと,そうはいかない。) それでも,やはりC言語は「システム開発言語」なので,特別な言語なのである。 多くの言語がオブジェクト指向を取り入れているが,C言語に追加されることは無いだろう。もし,必要ならばC++を使えばよいのだから。 基的に端末で作業をする。 C言語を使うためのソフトのインストール方法: 端末から sudo apt-

    Ubuntuで C言語を使おう | 不定期ソフトウェア開発
  • Rob Pike: Notes on Programming in C

    Rob Pike February 21, 1989 Introduction Kernighan and Plauger's The Elements of Programming Style was an important and rightly influential book.  But sometimes I feel its concise rules were taken as a cookbook approach to good style instead of the succinct expression of a philosophy they were meant to be.  If the book claims that variable names should be chosen meaningfully, doesn't it then follow

  • 1