Writing BOOLEAN Array to a file

S

Speed

Could you please tell me which is the most efficient of way writing a
BOOLEAN array to a file.

Thanks a ton.
Speed
 
K

Keith Thompson

Speed said:
Could you please tell me which is the most efficient of way writing a
BOOLEAN array to a file.

fwrite()?

What do you mean by BOOLEAN? There's no such type in C. (C99 has
_Bool and bool.)

Is efficiency really your only concern? Does it matter at all whether
the file can be read by another program, perhaps on another system?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top