如何从二进制读取器读取值以及如何获取二进制输出 [英] how we can read value from the reader in the binary and how we can obtain binary output
问题描述
请给我帮助
我的项目有问题
如何从二进制读取器值中读取数据,我的意思是如何将其保存在变量中
并将输出表示为二进制
我需要尽快得到答案
非常感谢:)
please i want help
i have a problem in my project
how we can read from the reader value in binary , i mean how we can save it in variable
and represent the output as binary
i need the answer as soon as possible
thanks a lot :)
推荐答案
您能编辑您的问题以澄清问题并添加一些细节吗?
reader:confused:您在说什么读者?
同样,计算机上的几乎所有内容实际上都是二进制文件,但是以不同的方式用于提供不同的表示形式.
Could you edit your question to clarify it and add some specifics?
reader:confused: What reader are you talking about?
Also pretty much everything on the computer is actually in binary, but used in different ways to provide different representations.
将其保存在变量中,并将输出表示为二进制
save it in variable and represent the output as binary
变量的类型是什么?
输出到哪里? (控制台,编辑控件,文件等)
有点古怪,通过将输出表示为二进制",您可能意味着要显示二进制值的字符串表示形式.您确定要在那里使用二进制(全部为1和0)而不是十六进制吗?
哦,您已经尝试了什么?您对此有什么问题?
What is the type of the variable?
Output it where? (console, edit control, file, etc )
Being a bit pedantic, by "represent the output as binary" you presumably mean that you want to display a string representation of the binary value. Are you sure you want binary there ( all 1''s and 0''s ) rather than hexadecimal?
Oh, and what have you tried already? What problems did you have with that?
您认为另存为二进制"是什么?您可以使用不同的数据类型,这些数据类型分配不同的内存大小,但是任何数据都可以表示为二进制数.
What do you think ''save as binary'' is ? You can use different data types, which allocate different memory sizes, but any data can be expressed as a binary number.
aha ,,, ok
非常感谢:)
抱歉给您带来不便
aha ,,, ok
thank you very much :)
Sorry for the inconvenience
这篇关于如何从二进制读取器读取值以及如何获取二进制输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!