Re: function
- From: "Bill Cunningham" <nospam@xxxxxxxxx>
- Date: Sat, 31 May 2008 15:14:11 GMT
"Joachim Schmitz" <nospam.jojo@xxxxxxxxxxxxxxxxxx> wrote in message
news:g1rpes$mp7$1@xxxxxxxxxxxx
[snip]
while (num--) fputc(a, fp);
fclose(fp);
return 0;
}
Still needs some error checking (num>=0, fp != NULL, fclose and fput
worked)
BillBye, Jojo
While(num--) What's that? Is that the same as what I was thinking here.
int c;
for(c=1;c<num;c++)
Bill
.
- Follow-Ups:
- Re: function
- From: CBFalconer
- Re: function
- From: Joachim Schmitz
- Re: function
- References:
- function
- From: Bill Cunningham
- Re: function
- From: Joachim Schmitz
- function
- Prev by Date: Re: function
- Next by Date: Re: function
- Previous by thread: Re: function
- Next by thread: Re: function
- Index(es):
Relevant Pages
|