Redian新闻
>
请问如何将c/c++ 中的ascii 文件存为binary 文件,
avatar
请问如何将c/c++ 中的ascii 文件存为binary 文件,# Programming - 葵花宝典
F*i
1
然后 c/c++/perl/python 可以比较easy 的 read in?
Thanks a lot!
avatar
k*f
2
Why it is difficult for any of the languages you listed here to read ASCII
file? In fact, Perl and Python are very good at reading ASCII files.
avatar
h*z
3
Why do you want to write ascii file as binary file? If it's for space
savings, easiest way is to just compress it using a standard compression
format that you have libraries for in all 3 languages.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。