C言語なら俺に聞け! Part 92
■ このスレッドは過去ログ倉庫に格納されています
0153初心紗
NGNGで、プログラムを作ったのですが、こんなもんで世の中で通用しますか?
/*////////////////////////////////////////////////////////////////////////////*/
/* */
/* 機能:指定されたファイルを16進数でダンプする */
/* 使い方:HEXDMP FILE-NAME */
/* */
/*////////////////////////////////////////////////////////////////////////////*/
/* インクルードファイル定義 */
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <memory.h>
#include <io.h>
#include <conio.h>
/* マクロ定義 */
#define OK 0
#define NG 1
#define HEXLEN 16 /* 出力幅 4の倍数指定 */
#define STRMAX 256
/* プロトタイプ宣言 */
int MemDmp(int, unsigned char *, int);
■ このスレッドは過去ログ倉庫に格納されています