cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to send data through coms
how to send data through coms
May 8, 2009 at 7:31am UTC
gilkahan
(4)
i need to send data throgh my com1 exit. how am i doing it?
thanks
May 8, 2009 at 11:53am UTC
Duthomhas
(13212)
MSDN article on serial port communications
http://www.google.com/search?btnI=1&q=msdn+Serial+Communications+in+Win32
Essentially, just open the port as a file:
1
2
ofstream comport(
"com1"
);
//ready to write
Hope this helps.
May 21, 2009 at 6:46am UTC
gilkahan
(4)
thanx duoas
Topic archived. No new replies allowed.