开发者

What is a Binary File? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonab开发者_运维知识库ly answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

In the following context I would like to know what a binary file means.

The mode argument of the fopen() function can also take value b to indicate that the openend file should be treated as a binary file.

Another excerpt from the same text block:

The default mode of fopen() function has been set to binary for all platforms that distinguishes between text and binary file.


A binary file is a possibly non-text file such as images, videos or zips... anything could be read as a binary. Compiled code is another example of this.

A binary file is anything a Computer could interpret and you by just reading it cannot.

Note: You could cast a text file as a binary too, if you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜