Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

how do u make c++ communicate with the hardware?

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 12-06-01, 08:26 PM Thread Starter   #1
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
how do u make c++ communicate with the hardware?


would somone give me an example of a C++ program that communicates with harddrware directly. how would i make c++ to detect what kind of modem a comp is running.
Bmxpunk86pl is offline   QUOTE Thanks
Old 12-07-01, 07:44 PM Thread Starter   #2
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
like say i wanted c++ to scan the com ports or something.
Bmxpunk86pl is offline   QUOTE Thanks
Old 12-07-01, 08:00 PM Thread Starter   #3
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
say like the statement "detect_modem:"
Bmxpunk86pl is offline   QUOTE Thanks
Old 12-19-01, 02:38 AM   #4
Vovan
Member

 
Vovan's Avatar 

Join Date: Jan 2001
Location: Germany

 
I know that modems usually comunicate with each other thru AT- commands. I also know that the procedure that we all know in Windows- ask modem state- is actually a one AT command, than modem returns useless garbage and windows puts this on the screen. Only when modems are connected, can we use them as COM ports and forget that they are modems.

(source - old crappy book Tricks of the game programming gurus)

__________________
"User of genuine open-source Linux software."
Vovan is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 03:23 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?