What are the differences between text stream and binary stream???
What are the benifits for using binary stream?
The use of binary stream is better than text stream in what conditions?
What are the differences between text stream and binary stream???
What are the benifits for using binary stream?
The use of binary stream is better than text stream in what conditions?
Last edited by Antigloss; 09-01-2005 at 08:00 AM.
> What are the differences between text stream and binary stream?
text is usually printable, and delimited with '\n' characters. This makes it handy for reading using say fgets()
> What are the benifits for using binary stream?
You can use fseek() to locate specific records.
> The use of binary stream is better than text stream in what conditions?
Depends on what you're doing (see above answers)
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.