搜索资源列表
用c编写的N*N的螺旋矩阵源代码
- /* 实现效果: 1 2 6 7 15 3 5 8 14 16 4 9 13 17 22 10 12 18 21 23 11 19 20 24 25 */ #include <stdio.h> #define N 5 //阶数,即N*N的螺旋矩阵 void main() { int i, j, num=1, a[N][N]; for(i=0; i<=N/2; i++) &nb
19577_printer_monitoring.ZIP
- 打印机队列监视程序,监视文件开始打印及打印进程。 文件清单: main.cpp main.dfm main.h printerNotfier.cpp printerNotfier.h project1.cpp SortJobThread.cpp SortJobThread.h SpyPrinter.bpr SpyPrinter.cpp SpyPrinter.exe SpyPrinter.res Unit1.dfm
字符串处理函数集1
- 这是一个字符串处理函数集,包括: IsNumeric——检查串是否为数字串 Upcase——变成大写串 Lowercase——变成小写串 Trim——截掉串尾的空格 RTrim——截掉串开始处的空格 LTrim——截掉串尾的空格 right——从右到左截掉字符 left—— 从左到右截掉字符 mid——截掉从某个起始位置到右边位置的字符 zip文件中包含StringFunctins.h和StringFunctins.cpp是字符串处理函数的头文件和实现文件,main.cpp和main.h是一个控
Simulation_IIC.rar
- STM32 模拟I2C 驱动 工程师可以作为参考运用到实际项目开发中,Simulation_IIC\include\fonts.h Simulation_IIC\include\lcd.h Simulation_IIC\include\main.h Simulation_IIC\include\stm32f10x_conf.h Simulation_IIC\include\stm32f10x_it.h Simulation_IIC\project\cortexm2_macro.s
KTJrnX
- 打印机ocx开发,主要应用activex控件控件打印机驱动进行界面开发-Printer ocx development, the main application activex control to control the printer driver interface development
ServerVideo
- 本程序使用的硬件是天敏VC4000监控卡,其中使用了Sa7134Capture.h、MediaTransmit.lib、Sa7134Capture.lib、MediaTransmit.dll、Mix.dll、MPG4c32.dll、Sa7134Capture.dll、xvidcore.dll、MediaTransmit.h、文件,在运行程序前,需要将这些文件添加到当前工程中。程序中没有提供这些文件。 服务器端主窗口用于初始化监控卡,检测视频信号,如果有视频信号则显示视频图像,服务器端主窗口效
quickcg_2004
- QuickCG can be downloaded here, it s required to compile the code in the articles. quickcg.cpp quickcg.h main.cpp DevC++ users can download a project file for QuickCG here: quickcg.dev (optional DevC++ project file) The following file
Md5Code
- C编写,实现字符串摘要、文件摘要两个功能。 里面主要包含3个文件: Md5.cpp、Md5.h、Main.cpp。其中Md5.cpp是算法的代码,里的代码大多是从 rfc-1321 里copy过来的;Main.cpp是主程序。 -C to prepare and achieve string summary document containing a summary of two functions. Which mainly contains three documents: Md5
dec3
- dec3 编解码源程序 .从别的网站下载后稍作修改,增加了入口main函数。能编译通过,但是还不能运行。库函数都可以用-encrpt source code, dec3, include dec3.c, dec3.h, two files, download from other sites and do small modifications
BasicExcelSample
- vc++编写的一个很有用的小程序,主要针对office的编程,这个例子是对excel进行读写-vc++ prepared a very useful little program, the main office for the programming, this example is to read and write excel
simulatesa6link3DPumaRobot
- The robot currently moves with kinematic control using direct input of joint angles and slider bars (GUI). Some inverse kinematics options are built in but not automated yet (a demo button). A random input is also provided and the robot animates betw
qt1
- Qt 4 GUI 示例程序, 基本涵盖了 Qt UI 主要内容-Qt 4 GUI sample application, covering the Qt UI main content
dos
- 在cvm中实现dos的滚屏打印方式,并在cvm.h 的基础上增加了诸多实用的函数,包括一些图形界面的函数,所带的五笔输入法可以打词,比系统自带的只能打单个字的要方便很多。 只有dos.h文件是用户用的头文件; 用法如下: #include "dos.h" void dos() /*相当于main*/ { } 用户不能用main,因为main已经在dos.obj里了; dos.obj 的生成:dos.c 和其他的.h文件用于生成dos.obj ,只要 cvm.
Script
- 本程序实现了用ADO连接数据库,其中ado2.h和ado2.cpp是一个高度集成的ado函数库,很是不错;本程序的主要功能是执行脚本-This program implements a database using ADO connection, which ado2.h and ado2.cpp is a highly integrated ado library, it is good this program' s main function is to execute scr i
main
- hash1.vcproj h ash1.vcproj-hash1.vcproj hash1.vcproj hash1.vcproj
Client
- QQ2008 主界面精仿,基于MFC框架,C/C-QQ2008 main interface fine imitation, based on MFC framework, C/C++
k01168221
- 使用方法:直接将main.hex文件下载到单片机中就可以使用。你可以打开工程文件查看,motor.c已经是一个结构化的驱动程序,可以方便的调用。 更改连接:请打开motor.h更改以下内容即可。-Usage: main.hex file directly downloaded to the MCU can be used. You can open the project file view, motor.c is already a structured driver, you ca
Main
- C++经典语法与应用,类的编写与应用,构造与析构函数,函数的重载,类的继承,函数覆盖,基类与派生类的构造函数、析构函数先后调用顺序,如何在派生类构造函数中向基类的构造函数传递参数,this成员变量,类型转换的内幕,虚拟函数与多态性,引用和指针变量的区别与共同处。VC工程的编译原理与过程,将工程中不同的类拆分到不同的文件中,每一个类由一个.h和.cpp文件共同完成,头文件重复定义问题的解决,培养了学员良好的编程习惯,也为以后分析MFC AppWizard生成的工程奠定了良好基础。-C++ clas
qudong
- 接调用已有驱动 1.在STDAFX.H中添加#define _WIN32_WINNT 0x400 将DirectoryChanges.h(.cpp) DelayDirectoryChangeHandler.h(.cpp) Twain.h(.cpp)加入工程 2.在Main.H中: 添加(protected): CDirectoryChangeWatcher m_DirWatcher CFileChangeMessage m_DirChangeHandler -
ProdCust
- 完整的生产者和消费者程序,不同于网上现有的只是对线程简单说明的程序,此文件包含main.cpp,main.h,thread.cpp,thread.h 设置相关控件后就可运行,加注释-Complete program of producers and consumers, unlike existing online only thread a brief descr iption of the program, this file contains the main.cpp main.h,
