如何在C ++中从闪存卡读取/写入原始字节? [英] How to read/write raw bytes from a flash card in C++?

查看:77
本文介绍了如何在C ++中从闪存卡读取/写入原始字节?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

小组:


我是C编程的中间人,基本上我在Unix中编程了

数字信号处理......


现在我需要编写一个C ++程序来读取/写入FAT的整个卷

格式化的smartmedia

卡...我可以查看WinHex中的原始数据...现在我想要的是,在通用C

代码中读取所有数据

我在WinHex中看到...


有人可以教我如何处理这类工作吗?任何网站都是

欢迎。


最诚挚的问候,

Kelvin

Hi, group:

I am intermediate in C programming, basically I programmed in Unix for
digital signal processing...

Now I need to write a C++ program to read/write the whole volume of a FAT
formatted smartmedia
card...I can view the raw data in WinHex...now what I want is, in generic C
codes to read all the data
I see in WinHex...

Could anybody teach me on how to handle this kind of work? Any websites are
welcome.

Best Regards,
Kelvin

推荐答案

在comp.lang.c中Kelvin @ SG< ke ******** @ hotmail.com>写道:
In comp.lang.c Kelvin @ SG <ke********@hotmail.com> wrote:
现在我需要编写一个C ++程序来读/写整个FAT格式的智能媒体
Now I need to write a C++ program to read/write the whole volume of a FAT
formatted smartmedia




您的帖子对于comp.lang.c来说是偏离主题的。请访问

http://www.csclub.uwaterloo.ca/u/dj3...lc-welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html


用于发布指南和常见问题解答。谢谢。


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。



Your post is off-topic for comp.lang.c. Please visit

http://www.csclub.uwaterloo.ca/u/dj3...lc-welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

for posting guidelines and frequently asked questions. Thank you.

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.


顺便说一句,我实际上了解FAT,我需要知道C中的功能和

标题

允许我为FAT实现一个简单的阅读器......一些示例代码和

网站将会很好。


Kelvin


" Kelvin @ SG" <柯******** @ hotmail.com>在消息中写道

news:c0 ********** @ reader01.singnet.com.sg ...
By the way, I actually understands FAT, I need to know the functions and
headers in C that
allows me to implement a simple reader for FAT...Some example codes and
websites will
be great.

Kelvin

"Kelvin @ SG" <ke********@hotmail.com> wrote in message
news:c0**********@reader01.singnet.com.sg...
小组:

我是C编程的中间人,基本上我在Unix中编程进行数字信号处理......

现在我需要编写一个C ++程序来读/写整个FAT的格式化的Smartmedia
卡...我可以在WinHex中查看原始数据...现在我想要的是,在通用的
C代码中读取所有数据
有人可以教我如何处理这类工作吗?欢迎任何网站


最诚挚的问候,
Kelvin
Hi, group:

I am intermediate in C programming, basically I programmed in Unix for
digital signal processing...

Now I need to write a C++ program to read/write the whole volume of a FAT
formatted smartmedia
card...I can view the raw data in WinHex...now what I want is, in generic C codes to read all the data
I see in WinHex...

Could anybody teach me on how to handle this kind of work? Any websites are welcome.

Best Regards,
Kelvin



" Kelvin @ SG" <柯******** @ hotmail.com>写在

新闻:c0 ********** @ reader01.singnet.com.sg:
"Kelvin @ SG" <ke********@hotmail.com> wrote in
news:c0**********@reader01.singnet.com.sg:
顺便说一句,我其实理解FAT,我需要知道C中的函数和
标题,
允许我为FAT实现一个简单的阅读器...一些示例代码和
网站将是伟大的。
By the way, I actually understands FAT, I need to know the functions and
headers in C that
allows me to implement a simple reader for FAT...Some example codes and
websites will
be great.




你仍然偏离主题。在comp.arch.embedded中尝试这个问题 - 不是

语言。


-

- 马克 - >

-



Your still off-topic. Try this question in comp.arch.embedded - not a
language ng.

--
- Mark ->
--


这篇关于如何在C ++中从闪存卡读取/写入原始字节?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆