摘要
本文根据面向对象的程序设计思想,通过对 Windows串行通信应用编程接口( API)中部分数据结构和函数的封装,构造串行通信类 CComm。该类向用户提供几个简单的成员函数,从而可大大方便 Windows系统下串行通讯的编程。
The CComm class of serial communication according to the thought of OOP is constructed in this paper, enveloping partial data structures and functions in Windows serial communication API. It provides users with several simple member functions. So, it can make the serial communication programming in Windows system easier.
出处
《工业控制计算机》
2001年第2期42-45,共4页
Industrial Control Computer