-
打印条形码示例
资源描述
Code128
Code39
两种编码规则的条形码,数字变成条形码的转换方法。
// TODO: Add your control notification handler code here
CDC dc;
int CodeName,printQuality;
LPSTR partial=NULL,text;
CCode39 code39;
CCode128 code128;
UpdateData(TRUE);
text=m_CodeText.GetBuffer (50);
//获取编码方式
CodeName=m_CodeName.GetCurSel();
if(CodeName==CB_ERR)
{
MessageBox("请选择编码方式");
return;
}
switch(CodeName)
{
case 0:
CodeType=CODE39;
break;
case 1:
CodeType=CODE128A;
break;
case 2:
CodeType=CODE128B;
break;
case 3:
CodeType=CODE128C;
break;
}
//获取打印机设备环境
if(!(printDlg.DoModal()))
{
MessageBox("打印错误。");
return ;
}
- 2022-03-22 14:26:04下载
- 积分:1
-
gjrand.4.2.0 随机数生成
c写的随机数生成程序,很实用,跨平台,可以在Linux下编译,也可以改成在windows下下编译
- 2022-03-15 00:42:44下载
- 积分:1
-
做一个好的网格程序,是一个封装ParaMesh FORTRAN 90程序设计…
做网格的好程序,PARAMESH is a package of Fortran 90 subroutines designed to provide an application developer with an easy route to extend an existing serial code which uses a logically cartesian structured mesh into a parallel code with adaptive mesh refinement(AMR).
-Do a good grid procedures, PARAMESH is a package of Fortran 90 subroutines designed to provide an application developer with an easy route to extend an existing serial code which uses a logically cartesian structured mesh into a parallel code with adaptive mesh refinement (AMR).
- 2022-01-26 14:07:51下载
- 积分:1
-
已知电压信号序列,利用FFT计算该电压信号的各次谐波及其RMS值。...
已知电压信号序列,利用FFT计算该电压信号的各次谐波及其RMS值。-As the voltage signal sequence is known, FFT is used to calculate the value of harmonics and the voltage RMS value.
- 2022-11-29 14:10:03下载
- 积分:1
-
图论算法库,包括以下算法:
单源最短路径 Dijkstra 算法
单源最短路径 Bellman...
图论算法库,包括以下算法:
单源最短路径 Dijkstra 算法
单源最短路径 Bellman-Ford 算法
最小生成树 Prim 算法
每对节点间最短路径 Flod-Warshall 算法
程序用C++语言编写,在VisualAge C++ 4.0下调试通过。压缩包内的Graph.h文件包含所有的库函数,其调用接口见程序内注释。其他的文件是用来测试算法的测试程序,在VisualAge C++ 4.0下编译运行。
该算法是为参加ACM/ICPC竞赛而准备的资料,由于竞赛的对编程速度要求较高,所以为了将代码写的短一点,为了便于调试,代码的写的并不是最优的。
该代码在VisualAge C++ 4.0下写成,但是很容易将其移植到MS Visual C++上。
-err
- 2023-01-27 10:10:05下载
- 积分:1
-
把秒生成时间格式
把秒生成时间格式-put seconds generation time format
- 2022-02-02 16:46:25下载
- 积分:1
-
a new numerical algorithm
一种新型的数值求解算法-a new numerical algorithm
- 2022-12-01 11:45:03下载
- 积分:1
-
评估系统,自动收集数据,处理结果,数据挖掘,满足各类评估需求...
评估系统,自动收集数据,处理结果,数据挖掘,满足各类评估需求-Assessment system, automatic data collection, treatment results, data mining, to meet the demand for various types of assessment
- 2022-10-26 00:55:03下载
- 积分:1
-
给予全局误差和局部误差的最小二乘辨识
其中BPNN_global.m为给予全局误差最小二乘辨识,BPNN_local为基于局部误差最小二乘辨识
- 2022-06-30 10:01:04下载
- 积分:1
-
一个公平的经验,农历和男性的经验
支持公历、农历及公历转农历使用公式法(不是查表法)的日历控件,完全自主开发。- A fair experience, the lunar calendar and the male experience
transfer the lunar calendar use formula law (is not Zha Biaofa) the
calendar controls, completely independently develops.
- 2023-05-04 12:35:02下载
- 积分:1