Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,206 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,362 people online right now. Registration is fast and FREE... Join Now!




How Cntrl hardware

 
Reply to this topicStart new topic

How Cntrl hardware

shahzaib_xp
31 May, 2008 - 05:22 AM
Post #1

New D.I.C Head
*

Joined: 31 May, 2008
Posts: 1

The c-language how control hardware.
please give me basic information about hardware.
Thank You
User is offlineProfile CardPM
+Quote Post

KYA
RE: How Cntrl Hardware
31 May, 2008 - 05:46 AM
Post #2

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,050



Thanked: 124 times
Dream Kudos: 1200
My Contributions
Electrons->on and off-> 1 and 0-> control structures->greater abstraction->c program->stuff
User is online!Profile CardPM
+Quote Post

NickDMax
RE: How Cntrl Hardware
1 Jun, 2008 - 05:00 PM
Post #3

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,859



Thanked: 50 times
Dream Kudos: 550
My Contributions
This is really too general a question. There are LOTS of ways to control hardware.

If you are talking about standard hardware (like the mouse or a hard drive or a video card) then generally there is a standard interface/API that you can access and then sometimes there is a manufacturer specific API which may give you more functionality that is available though the OS.

Course if you are talking about custom hardware then you need to tell us what technology the hardware uses to interact with the computer: PCI, ePCI, IDE, EIDE, AGP, SATA, IR, Serial, Parallel, USB, Firewire, IEEE 1394, Ethernet... I am sure there are more.

Generally you want to use the OS as much as possible (since this is part of an OS's job). So you can search google for "interfacing using ________" and find info on that technology. Generally this is a good area to search Amazon for a book on since generally you have electronics and programming.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 12:35PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month