整理待ち
c
atoi(文字列ポインタ)
#include <stdlib.h>が必要。
文字列を数値に変換する。
ただし、数値チェックはしない。
atoi("a") > 0
atoi("9a0") > 9
atoi("a90") > 0
exit(数値)
#include <stdlib.h>が必要
戻り値を返して処理を終了する。
printf("%d%sあいうえお",数値,文字列ポインタ);
#include <stdio.h>が必要。
標準出力に""の中身を出力。
sleep(数値)
#include <unistd.h>が必要。
数値秒sleepする。
void *memset(void *buf, int ch, size_t n);
bufの頭からnバイトをch で埋める
char *strcpy(char *s1, const char *s2);
*s1に*s2をコピー *s1が*s2の長さ+1(\0の分)であることに注意
char *strcat(char *s1, const char *s2);
*s1の後ろに*s2を追加
int strcmp(const char *s1, const char *s2);
*s1と*s2比較 一致すれば0
UNIX ファイルの削除権限
ファイルを削除できるかどうかの権限は、
そのファイルの書込属性ではなく、
親ディレクトリへの書込み属性
oracle sql/plus
テーブルの列名を確認したいときは
desc テーブル名
結構便利
windows エクスプローラー
フォルダの表示をデフォルトにする。
ツール→フォルダオプション
ファイル種類タグからフォルダを選択。
詳細設定からexploreを選択し、既定に設定。
かなり便利
最終更新:2010年04月19日 09:38