Post Reply 
Sharp PC-G850VS EOF?
09-20-2018, 03:04 PM
Post: #10
RE: Sharp PC-G850VS EOF?
(09-20-2018 02:23 PM)toml_12953 Wrote:  
(09-20-2018 01:09 PM)jwhsu Wrote:  I just looked in the manual. It is actually stated there under section 8.12. Library Functions:
Thanks! I won't waste time looking for a generalized control key, then.

Did you mean 7.12? That's where it is in my manual.

Also, what's the difference between getc and fgetc? It seems like they're identical.
Is it possible that getc doesn't use the file stream and uses stdin only?

getc(stream)

rather than

getc(FILE* stream)

That would be more consistent with printf and fprintf.

Tom L

You probably have an earlier version of the manual which doesn't have the chapter on how to use STAT mode. In versions prior to 3.0, it would be section 7.12. You can download the most recent version from here.

As far as getc vs. fgetc, I'm not sure what the difference is. In the original Japanese manual, getc and fgetc has the exact same format and description. You may be right, however, and your alternative format for getc is correct. I'll have to do some testing. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sharp PC-G850VS EOF? - toml_12953 - 09-19-2018, 04:25 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 02:41 AM
RE: Sharp PC-G850VS EOF? - ijabbott - 09-20-2018, 07:43 AM
RE: Sharp PC-G850VS EOF? - ijabbott - 09-20-2018, 05:14 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:44 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 07:55 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 08:26 PM
RE: Sharp PC-G850VS EOF? - jwhsu - 09-20-2018, 01:09 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 02:23 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 02:59 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:06 PM
RE: Sharp PC-G850VS EOF? - jwhsu - 09-20-2018 03:04 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:42 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 11:18 AM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 12:41 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 04:13 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 06:06 PM



User(s) browsing this thread: 1 Guest(s)