🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Ted Sun, 04 Apr 1999 00:00
Difference between text and binary files?
#174
Author: Ted
Date: Sun, 04 Apr 1999 00:00
2 lines
525 bytes
What is the difference between text and binary files in C and C++? It
doesn't say in the book.
Re: Difference between text and binary files?
#175
Author: robert bowman
Date: Tue, 06 Apr 1999 00:00
8 lines
934 bytes
Ted <mindtrek@netzero.net> wrote in message
news:3707c923@news2.mixcom.com...
> What is the difference between text and binary files in C and C++? It
> doesn't say in the book.

If a file is opened in the text mode, line separators are assumed. A binary
file will just read/write raw data, nothing added.
Re: Difference between text and binary files?
#185
Author: Marck Franssen
Date: Fri, 23 Apr 1999 00:00
3 lines
851 bytes
Further more Text-files are assumed to contain ONLY text-characters.

Binary files CAN contain any / all ascii-characters.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads