»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 08-06-2003, 01:38 PM   #1 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes

I'm currently writing the file IO portion of my project, I just have a few questions (atm).
I want to use fgetc() and fputc() as my file format is defined in terms of bytes, and I reckon it would be easier this way than using fscanf etc.
Does fgetc and fputc just write a byte to the file, or does it interpret special characters, like backspace or delete? Are there any numbers I should avoid using?
When I do this, can I just put in a short int instead of a character? as it saves time casting and checking up on stuff, as well as makes the code more understandable.
That's it for now. Cheers in advance.

__________________
_____
NuKeS
nukes is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 02:16 AM.