[ create a new paste ] login | about

Link: http://codepad.org/PW5VddGM    [ raw code | output | fork ]

C, pasted on Jul 22:
#include <stdio.h>
struct MESSAGE
{
 int gene;
 int end;
 int delay;
};

void delay(struct MESSAGE data[], int i);

int main(void)
{
 struct MESSAGE data[10]; int i;
//<メッセージの発生時刻と到着時刻の値の代入>
 for (i=0; i<=9; i++)
 {
  delay(data, i);
  prinff("メッセージ%dの転送時間は%dミリ秒 \n",i, data[i].delay);
 }
}

void delay(struct MESSAGE data[], int i)
{
//<メッセージiの転送時間の計算>
}


Output:
1
2
In function `main':
undefined reference to `prinff'


Create a new paste based on this one


Comments: