: I have a little knowledge of C and C++ both but not at the
: System Programmings level,
I am going to stop here and simply say that a little knowledge is not enough. System level programming is not a beginners task at all and almost always requires understanding of your systems architecture and assembly language.
If you really want to understand it further, search Google for Art of Assembly (The DOS book) and start reading and practicing assembly language.
You can also take a look at
tutorial 7 from my site to learn basic x86 system architecture.
: I do not know, How to Program using
: 'dos.h' file and many more
dos.h is not at the system programming level.. With that its not standard C++.
As Lundin said, dos.h is deprecated. Dos was an old 16bit real mode operating system. As such, you will need a 16 bit real mode compiler (I personally used Turbo C 2.1 before--Google it, its a free download. Its a great 16 bit compiler.)
Open up dos.h and you will see a few routines for system time, software port io, interrupts (geninterrupt, int86) etc. It may be lower level, but it is not coinsidered system level software.
We can answer any questions that you have if you don't know how to use it..
: But I can write simple codes.....
:
: Can you Specify the Details about - How any code[Software] effects
: any Hardware component.
: Codes get saved into capacitors or some storing media.(How)
: In the form of Voltage or in the form of Current?
Both of these are covered in tutorial 9 and tutorial 17 at my site. Tutorial 9 describes direct hardware programming concepts, and tutorial 17 has a complete section covering how physical memory works and what it is.
I decided not to post links here as it goes into advance topics that can be hard to understand without assembly language, system architecture, or system level programming exp. In other words, they might confuse you more.
If you are still interested, feel free to check them out.
----------
What is it that you are wanting to do? Learn DOS programming or learn system-level programming?
In either case, as you are still a beginner, I highly recommend against both of these (at least for now).
[.:EvolutionEngine][.:MicroOS Operating System][Website :: OS Development Series]