Thread: C++ Hardware Interaction

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    4

    Post C++ Hardware Interaction

    I am a novice in C++ and I have always been told about the proven potential of C++ in controlling hardware. But HOW?

    Could anyone be please kind enough to inform me of any resources pertaining to C++'s hardware access abillity?

    Thank you very much to all those who replied.

  2. #2
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002
    Posts
    192

    Thumbs up

    A possible direction


    First of all there is a point to be considered ...

    COntrolling H/w through
    a. DOS
    b. Windows
    So, select ur OS.

    If it is DOS, then you again have 2-3 ways...
    1. Direct memory manipulations using pointers.
    2. Using Interrupt Services
    3. Using DOS Routines (inc. BIOS routines)

    If you would like to use Windows then...

    1. Take the help of windows API (if ur appl. needs interaction with windows components)
    2. Go ahead just like dos programming style (if ur application does not need to interact with other apps and also only if u use Windows 9x. Win NT, 2000 etc are not supported in this mode).


    Best Regards,
    Sriharsha.
    Help everyone you can

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hardware interaction through USB port with C
    By mariano_donati in forum C Programming
    Replies: 3
    Last Post: 11-15-2007, 07:31 PM
  2. How does hardware interpret data?
    By Silvercord in forum Tech Board
    Replies: 3
    Last Post: 01-29-2003, 01:46 PM
  3. Linux Hardware Handbook
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 04-02-2002, 06:06 AM
  4. hardware interaction in c
    By vineetwadwekar in forum C Programming
    Replies: 6
    Last Post: 03-29-2002, 09:01 AM
  5. support 256 colors...
    By jackie_islam in forum C Programming
    Replies: 4
    Last Post: 03-12-2002, 01:29 PM