タグ

ブックマーク / rat.cis.k.hosei.ac.jp (2)

  • LaTeXの書き方

    表記法 段落分け ,段落,書き方 ,段落,\paragraph{名前} ,小段落,\subparagraph{名前} 段落でも小段落でも、見た目はあまり変わりません。 パート分け ,パート,書き方 ,部,\part{名前} ,章,\chapter{名前} ,節,\section{名前} ,小節,\subsection{名前} ,小々節,\subsubsection{名前} 番号分け \setcounter{<パート>}{<数字>} {<パート>}に番号付けをしたい部分の名前、{<数字>}にパートの番号を指定します。 引用 段落の頭を下げる \begin{quotation} ~ \end{quotation} 段落の頭を下げない \begin{quote} ~ \end{quote} 先頭が・の箇条書き \begin{itemize} \item aaa \item bbb \item c

    masa0x80
    masa0x80 2009/08/03
  • gcc+gdbによるプログラムのデバッグ 第3回 gdbの便利な機能、デバッグの例

    いくつかのバグを含むツリーソートのプログラムを用意しました。 treesort1.c #include <stdio.h> #include <stdlib.h> struct node { int value; struct node *left; struct node *right; }; void treeadd(struct node**, int); void treewalk(struct node*); void treefree(struct node*); int main(int argc, char **argv) { struct node *rootp; int i; int array[15] = {50, 12, 18, 70, 41, 19, 91, 1, 7, 6, 81, 65, 55, 20, 0}; for (i = 0; i < 15; i++)

  • 1