C言語なら俺に聞け(入門篇) Part 27at TECH
C言語なら俺に聞け(入門篇) Part 27 - 暇つぶし2ch586:側近中の側近 ◆0351148456
08/05/11 19:25:26
>>584
(っ´▽`)っ

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int cmp(const void *elem1, const void *elem2);
int existInMaster(void);

typedef struct shohinM{
  char  shohinCode[256];
  char  shohinName[256];
  int    tanka;
} shohinMaster;

int main(void)
{
  int line;
  line = existInMaster();
  if(line == 0){
    printf("エラーはありません\n");
  }
  else{
    printf("%d行目にエラーがあります\n", line);
  }
  return 0;
}

(続く)


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch