搜索资源列表
zw1
- 定义类型为char, short, int, long, float, double, char *, int *, double *的变量各一个,给每个变量设定或输入值-The definition of type char, short, int, long, float, double, char*, int*, double* variables for each one, to set or enter a value for each variable
zw2
- 定义一个长度为10的int数组nArr,采用给定初始值或从键盘输入的方式给数组的10个元素赋值;定义一个int *型指针变量pInt,并将nArr的首地址存入pInt中;-Define a length int array nArr 10, using methods given initial value or input from the keyboard to the 10-element array assignment define a pointer variable of typ
CSharptwincatads
- c#与 之间通过变量名进行通讯\C#读写程序\c#程序-C#-C# and variable name of the communication between through reading and writing program c# \ \ c# program
tictactoe
- 2.2.1 程序功能简介 该程序是TICTACTOE游戏,棋盘为3*3,3个棋子连起来即为赢。输入参数时,若输入的数字超出边界在已有棋子的地方再输入,则提示出错,要求重新输入。 2.2.2程序设计要求 (1) 将程序改写成类; (2) 将棋盘扩充成4*4; (3) 统计输赢结果并打印输出; (4) 选做:使游戏更生动(输赢条件相同)。 2.2.3课程设计说明 (1) 棋盘可用数组来定义,如Board[4][4]={0,0,0,0,0,0,0,0,0,0,0,0,
jisuanqi
- C#编写制作一个简单计算器的学习实例源码,计算器源码收录了不少,不过里面的代码都不太一样,所以还是发上来供初学者学习参考。程序分别定义了数字及运算符按钮按下时、等号(=)按下时、清空(C)按下时分别执行的动作,源码可有助于了解各整数、浮点数变量的运算操作-Escrito en C# para aprender a hacer unos simples ejemplos de código fuente calculadora, calculadora de colección de origen
serial-communication
- VB实现pc与单片机串口通信任务 //利用vb实现pc与单片机串口通信任务 //编写程序代码 定义变量 Dim cnum As Integer 循环计数标志 Dim choosenum As Integer 选择指示灯号 串口初始化 在窗体的Load事件中加入下列代码对串口进行初始化 Private Sub Form_Load() MSComm1.CommPort=1 MSComm1.InputMode=1 MSComm1.RThresho
EnumEx
- 枚举的应用,应用枚举类型变量可以有效控制代码-Enumeration of the application, application enumeration type variables can effectively control the code
weifen-qiujifa
- 这是微分求积法的程序算法,适用于需要离散的变量,在用的时候只需要添加自己的边界条件和已知量即可-This is the differential quadrature method of program algorithm for discrete variables need, when using only need to add your own boundary conditions and known quantities
OPCReadService
- 利用kepware提供的dll,连接Kepware OPC server,将固定的几个变量的数据存储到数据库当中。-Using dll kepware provided connection Kepware OPC server, the data is a fixed number of variables to which the database is stored.
qqSPD-(2)
- 有三个数据块,利用指针数组,指针,链表,指针变量,指针等基本语法。-double list
6_1
- 1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有: 1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量; 2) 设置上述变量的公有成员函数; 3) 输出上述变量的公有成员函数; 4) 公有的成员函数Average()用于计算学生的平均分; 定义一个理科学生类CStuden
light
- • 应用逻辑设计 1. 灯类 a. 主要属性和行为: 亮熄状态,关联图片资源对象,接受客户的亮熄要求 b. 类CLight 成员变量: m_state 成员函数: init, getState, setState 2. 开关类 a. 主要属性和行为: 关联所控的电灯CLight,接受客户的按动操作 b. 类CSwitch 成员变量: m_pLight 成员函数: init, push 3. 实例对象: 两个开关,一个灯;
water-phy.cc
- 802.11无线物理层修改代码,添加水声环境变量,可用于水底下协议仿真调用802.11 -wireless physical layer to modify the code, add the acoustic environment variables, can be used for underwater call protocol simulation
fd(1)
- 矩阵求逆 变量循环重新编号 方法可行。方便-matrix inverse
Rainbow
- 多变量签名算法Rainbow的c++实现-Source code of Rainbow SIgnature Scheme
LINK
- 建立链表的算法: 新节点链入表尾建立链表: 动态分配第一个节点变量; 用指针head 妥善保存链表第一个节点的地址值; 依次动态分配一个新节点变量; 将上一个节点的指针域指向新生成的节点; 循环3),4)步骤,直到所有节点均连入链表; 将最后一个节点的指针域赋值为0; -Establish the list of algorithms: The new node links footer build list: Dynamic allocation of
projectClass1
- 这个作业将让你去练习建立一些简单的类和使用 C++的基本功能,包括: 封装,引用,动态内存开辟, 简单构造函数和析构函数和 const. 这个程序片段未 供编或调试. 做出合理的错误修正事你任务的一部分, 或要求在类里说明. 一般的,我们会给你最基本部分的代码. 如果你需要它们,你总是可以在 一个类里添加额外的变量或方法. 这个作业被分为三个部分来显示了如 何工作. -This assignment will give you practice building
Scope
- 这份代码是用C#语言描述局部变量冲突的,软件2010,简单高效。-this code is described to solve part problem,simple and effecienet
TagConfig
- opc客户端测试程序: 按IP自动搜寻目标机器上所有opc服务器,并根据选择列出变量列表,显示变量值。-opc client test program: by IP automatically search all opc server on the target machine and lists the variables according to the selected list, display variable values.
zifuchuan
- c#字符串的使用和声明变量。密码888888看上去是数字,但其实是一个字符串。需要用string来声明。-using c# strings and declaring variables. Password 888888 appears to be digital, but in fact is a string. We need to declare string.