摘要
根据面向对象的编程思想,将Win32下串行通信数据结构和API函数进行了C++类的封装,同时介绍了在VC6.0中应用该类实现上位机与下位机串行通信的编程方法,并且给出用VC6.0、PL/M96编写的有关程序段.
Based on the object oriented programming method,the data structures and API functions for serial communication in Win32 operation system into a C++ class are encapsulated,the application to the C++ class to realize the serial communication between computer and singlechip in visual C++ 6.0 are also introduced.Finally,the related programe codes used by VC6.0 and PL/M96 language are given.
出处
《长沙铁道学院学报》
CSCD
北大核心
2002年第4期53-56,共4页
Journal of Changsha Railway University