C ++中的扇区,文件和分区读取 [英] sector , file and partition reading in C++

查看:129
本文介绍了C ++中的扇区,文件和分区读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C ++编写程序来阅读/获取

partiton的完整图像。可以任何人让我知道互联网资源和网站

网站有相关的教程,并告诉任何序列如何编写代码以便捕获和完成目录结构

a分区没有使用Windows API我的意思是只有汇编和C或

C ++。

Shakeel

I am wrtiting programm in C++ to read/take complete image of the
partiton. can any one let me know the internet resources and web
sites having tutorials relating to this and tell any sequence of how
to writing code in order to catch and complete directory structure of
a partition with out using windows API i mean only assembly and C or
C++.
Shakeel

推荐答案

" shakeel-ur-rehman" < SH ******** @ yahoo.com>写道...
"shakeel-ur-rehman" <sh********@yahoo.com> wrote...
我正在用C ++编写程序来阅读/获取
分区的完整图像。任何人都可以让我知道互联网资源和网站上有相关教程的网站,并告诉编写代码的任何顺序,以便捕获和完成分区的目录结构使用Windows API我只是指装配和C或
C ++。
I am wrtiting programm in C++ to read/take complete image of the
partiton. can any one let me know the internet resources and web
sites having tutorials relating to this and tell any sequence of how
to writing code in order to catch and complete directory structure of
a partition with out using windows API i mean only assembly and C or
C++.




C和C ++都无法控制/与设备通信
(在您的情况下是硬盘)。什么机制可用于

,这些机制是特定于硬件和平台的,因此在这里是OT。


请在新闻组中询问处理Assembly或与你的操作系统

(即使你不想使用他们的API,你可能需要)。


V



Neither C nor C++ has any means to control/communicate with a device
(in your case a hard drive). Whatever mechanisms are available for
that are hardware- and platform-specific and as such are OT here.

Please ask in the newsgroup that deals with Assembly or with your OS
(even though you don''t want to use their API, you may have to).

V


Victor Bazarov写道:
Victor Bazarov wrote:
C和C ++都无法控制/与设备通信(在您的情况下是硬盘驱动器) )。


废话!

大多数硬件驱动程序都是用C语言编写的。

无论什么机制都可以使用
是硬件 - 特定于平台,因此在这里是OT。


这是正确的。

请在新闻组中询问与[Assembler]交易


请不要T。这也是偏离主题的。

或与您的[操作系统]
(即使您不想使用他们的API,您可能必须这样做。)
Neither C nor C++ has any means
to control/communicate with a device (in your case a hard drive).
Nonsense!
Most hardware drivers are written in C.
Whatever mechanisms are available for that
are hardware- and platform-specific and as such are OT here.
That is correct.
Please ask in the newsgroup that deals with [Assembler]
Please don''t. This would be off-topic there as well.
or with your [Operating System]
(even though you don''t want to use their API, you may have to).




正确。



Correct.


E. Robert Tisdale写道:
E. Robert Tisdale wrote:
Victor Bazarov写道:
Victor Bazarov wrote:
C和C ++都没有任何手段来控制/与设备通信(在你的情况下是一个硬盘)。
Neither C nor C++ has any means
to control/communicate with a device (in your case a hard drive).



废话!
大多数硬件驱动程序都是用C语言编写的。



Nonsense!
Most hardware drivers are written in C.




如果人们写的是C,或C ++或C ++。在这里,它们是指那些由ISO / IEC标准定义的语言,而那些语言实际上没有任何方法来控制硬件。您需要系统特定的扩展,而不是语言本身的一部分。



If people write about "C" or "C++" here, they mean those languages as
defined by the ISO/IEC standards, and those really don''t have any way
to control hardware. You need system specific extensions that are not
part of the language itself.


这篇关于C ++中的扇区,文件和分区读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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