to FeelingLoad:
你的程序会不会出错呀?
来自:FeelingLoad, 时间:2003-7-4 19:04:00, ID:2003945
if((int Love = open(Girl,O_RDWR))== -1 )
ShowMessage("请确认对方的性别!");
lseek(Love, 0L, SEEK_SET);
do
{
read(Love, &Charater,2);
if (mark=='kl')
{
lseek(Love, 0L, SEEK_CUR);
lseek(Love, -1, SEEK_CUR);
return -1;
}
if (mark=='Pl')
{
lseek(Love, 0L, SEEK_CUR);
lseek(Love, -1, SEEK_CUR);
return 1;
}
lseek(Love, 0L, SEEK_CUR);
}
while (!eof(Love));