the following code when executed using pelles C reports an error "POLINK: error: Unresolved external symbol '_putw'."
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main()
{
FILE *fp,*ft;
int number; char c;
fp=fopen("random","w");
scanf("%d",&number);
while(number!=-1)
{
putw(number,fp);
scanf("%d",&number);
}
number = ftell(fp);
printf("\n%d",number);
}