answersLogoWhite

0

Can a binary file be text file?

Updated: 12/24/2022
User Avatar

Wiki User

10y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Can a binary file be text file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which type of file occupies less space text file or binary file?

binary file


What are the modes of accessing a file?

"text" and "binary"


Is php a binary file?

No, PHP is text file with .php extension.


What is an explanation of the file modes briefly?

Two file modes are "text" and "binary". Text is used for human readable data, such as a C source file, or a notepad text file. Binary is used for computer readable data, such as an executable object file. Two other file modes are "sequential" and "random". Sequential is used when the file is accessed serially, from the beginning to the end, and can be used for both text and binary files. Random is used when the file is accessed non-serially, often jumping around from place to place. An example of random is a database file.


What are the different types of files and how End Of File of a full represented by a pointer?

There are two file types in C++ namely, text file and binary file. In text file EOF or end of file is represented by an end of file character having ASCII 26. In binary files EOF or end of file is represented by NULL in the file pointer


How do you distinguish between a text file and a binary file?

You can distinguish between binary and text files, and for the most part even identify what type of binary file, by using the "file" command. For example:~$ file unknownfileunknownfile: PNG image data, 155 x 155, 8-bit/color RGBA, non-interlacedThis tells you that the file is a PNG file by reading metadata and/or magic numbers in the file. When used on a text file, the command will return "ASCII text" or "Unicode text."


What is the difference between binary file and executable file?

windows support 2 file formats 1.text file 2.binary file in a text file in windows , each line is teminated with a carriage reurn followed by a linefeed character .but when a file is read by a c prog in text mode,c library converts carriage reurn/ linefeed character both in to a single linefeed character. but in case of binary file ,the prog will see both carriage return & linefeed character


What is difference between text and binary files?

A binary file is a computer file which may contain any type of data, encoded in binary form for computer storage and processing purposes; for example, computer document files containing formatted text. Many binary file formats contain parts that can be interpreted as text; binary files that contain only textual data - without, for example, any formatting information - are called plain text files. In many cases, plain text files are considered to be different from binary files because binary files are made up of more than just plain text. When downloading, a completely functional program without any installer is also often called program binary, or binaries (as opposed to the source code).A text file (sometimes spelled "textfile") is a generic description of a kind of computer file in a computer file system.[1] At this generic level of description, there are two kinds of computer files: 1) text files; and 2) binary files.[2] This broad two-level distinction is widely recognized and applied in computing, even though it can be misleading,and subject to differing interpretation


What is a bdat file?

A bdat file is a binary data file. It contains data that is not in the form of text. The data is encoded for the purposes of computer storage and processing.


What is the difference between binary file and text file in java?

HI... When you access a file from within C or C++ you have a choice between treating the file as a binary file or as a text file. C uses the fopen(file,mode) statement to open a file and the mode identifies whether you are opening the file to read, write, or append and also whether the file is to be opened in binary or text mode. C++ opens a file by linking it to a stream so you don't specify whether the file is to be opened in binary or text mode on the open statement. Instead the method that you use to read and/or write to the file determines which mode you are using. If you use the operator to write to the file then the file will be accessed in text mode. If instead you use the put() and get() or read()and write() functions then the file will be accessed in binary mode. So what exactly is the difference between text and binary modes? Well the difference is that text files contain lines (or records) of text and each of these has an end-of-line marker automatically appended to the end of it whenever you indicate that you have reached the end of a line. There is an end of line at the end of the text written with the C fwrite() function or in C++ when you


How do you convert binary code to text code and text to binary?

You can are ASCII-tabellen. For converting binary to text


What is data interrogation?

A bdat file is a binary data file. It contains data that is not in the form of text. The data is encoded for the purposes of computer storage and processing.