View Single Post
  #5   Spotlight this post!  
Unread 30-05-2002, 10:10
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
clarification...I hope

Basically, the way you do serial communications in Windows is to pretend that the serial port is a file. Then, you can use the standard Windows read and write operations to get data from and to the serial port. I don't know if this works with standard C fstream objects though. As soon as I'm done with my research paper, I'll write up a white paper on both.

BTW, what exactly do you mean by segment? Are you talking about a function? It's just that the word "segment" has a very specific meaning in assembly, and I'm hoping this isn't what you're talking about...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php