• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

retreive data from serial port

i need to learn how to read data from a serial port using c++. i'd appreciate it if someone could refer me to a tutorial.

thanx
0
minjiber
Asked:
minjiber
2 Solutions
 
jkrCommented:
What OS are you targetting?

Windows - see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwbgen/html/msdn_serial.asp ("Serial Communications in Win32"), comes with complete sample code

Linux - see http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/ ("Serial Programming HOWTO")
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now