data.h
来自「口通信 VC 完整串口通信程序Vc++源代码 串口通讯 vc++ 源代码 vc 」· C头文件 代码 · 共 34 行
H
34 行
// Data.h: interface for the CData class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DATA_H__4D58F5EF_59D5_44DD_B595_5CBE6D86582B__INCLUDED_)
#define AFX_DATA_H__4D58F5EF_59D5_44DD_B595_5CBE6D86582B__INCLUDED_
#include <cstring>
#include <string>
#include <vector>
#include <exception>
#include <stdexcept>
#include "afx.h"
#include "stdafx.h"
using namespace std;
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CData
{
public:
CData();
virtual ~CData();
void Decoding(string sData,string strNum,string strTime);//数据解码,返回字符组
string Encoding(string sData);//数据编码
};
#endif // !defined(AFX_DATA_H__4D58F5EF_59D5_44DD_B595_5CBE6D86582B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?