C言語なら俺に聞け(入門篇) Part 27
at TECH
586:側近中の側近 ◆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
5373日前に更新/213 KB
担当:undef