Re: another simple C question please...
Re: another simple C question please...
- Subject: Re: another simple C question please...
- From: Rustam Muginov <email@hidden>
- Date: Fri, 29 Aug 2003 18:33:38 +0400
I am not sure this is exactly what you need, but how about using function
ungetc?
int ungetc( int c, FILE *f );
This function could put at least one character back to the file stream.
On 8/29/03 6:06 PM, "David Thorp" <email@hidden> wrote:
>
Greetings...
>
>
I wonder if any of you could help me on this one please. Thanks again
>
to everyone for all the help in the past. This one's pretty simple I
>
think...
>
>
In short, is there any way, before reading in a character from a file
>
(using something like: ch = fgetc (theFile)), to instead find out what
>
the next character is, before actually reading it and moving the file
>
position indicator along one?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.