搜索结果

找到约 122 项符合 struct 的查询结果

技术资料 必须弄懂的495个c语言问题(经典资料)

必须弄懂的495个c语言问题 ,前言 1 声明和初始化 1 1.1 我如何决定使用那种整数类型? . . . . . . . . . . . . . . . . . . . 1 1.2 64 位机上的 64 位类型是什么样的? . . . . . . . . . . . . . . . . 1 1.3 怎样定义和声明全局变量和函数最好? . . . . . . . . . . . . . . . 2 1.4 extern 在函数声明中是什么意思 ...
https://www.eeworm.com/dl/851995.html
下载: 6
查看: 999

软件设计/软件工程 实习题 [问题描述] 1. 设顺序表中的数据元素递增有序

实习题 [问题描述] 1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。 [输入] 初始顺序表,插入字符。 [输出] 插入x后线性表的结果 [存储结构] 采用顺序存储结构 [算法的基本思想] 建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。 程序如下: #include "iostream.h" #include ...
https://www.eeworm.com/dl/684/222653.html
下载: 54
查看: 1064

其他 // algo3-12.cpp 银行业务模拟。实现算法3.6、3.7的程序 #define Qu 4 // 客户队列数 #define Khjg 5 // 两相邻到达的客户的时间间隔最大值

// algo3-12.cpp 银行业务模拟。实现算法3.6、3.7的程序 #define Qu 4 // 客户队列数 #define Khjg 5 // 两相邻到达的客户的时间间隔最大值 #define Blsj 30 // 每个客户办理业务的时间最大值 #include"c1.h" typedef struct // 定义ElemType为结构体类型 { int OccurTime // 事件发生时刻 int NType // 事件类型 ...
https://www.eeworm.com/dl/534/266764.html
下载: 72
查看: 1092

电子书籍 基础篇 1.1 Turbo C语言概述 1.2 C语言的特点 1.3 Turbo C 概述 1.4 Turbo C 2.0的安装和启动 1.5 Turbo C 2.0集成开发环境的

基础篇 1.1 Turbo C语言概述 1.2 C语言的特点 1.3 Turbo C 概述 1.4 Turbo C 2.0的安装和启动 1.5 Turbo C 2.0集成开发环境的使用 1. 数据类型、变量和运算符 2.  数据类型 3. 关键字和标识符 4.  变量 5.  运算符 Turbo C 程序设计初步 1.1 输入输出函数及控制流程语句 1.2 文件的输入输出函 ...
https://www.eeworm.com/dl/cadence/ebook/141536.html
下载: 165
查看: 1108

系统设计方案 This text surrounds the development of the electric power SCADA system exactly, aiming at the presen

This text surrounds the development of the electric power SCADA system exactly, aiming at the present condition of the our country electric power charged barbed wire net currently, according to the oneself at the e- lectric power protect the profession after the electricity in seven years of develop ...
https://www.eeworm.com/dl/678/176761.html
下载: 81
查看: 1115

技术资料 ad7793 smpl

#ifndef AD7793_h #define AD7793_h //#define SPI_EN_ASS void InitSPI(void); void wAD7793(uint8_t RegAdr,uint32_t RegData); void ResetAD7793(void); uint32_t rAD7793(uint8_t RegAdr); typedef struct { __I uint8_t len; // Register size (bits) __I ...
https://www.eeworm.com/dl/983425.html
下载: 8
查看: 6522

其他 学会对文件的记录锁定

学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) ...
https://www.eeworm.com/dl/534/242419.html
下载: 95
查看: 1123

其他 数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型

数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #include"c ...
https://www.eeworm.com/dl/534/266759.html
下载: 173
查看: 1591

数据结构 #include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h&

#include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef int Status typedef char TElemType /*树元素的类型*/ int t=35 int n=20 int h=14 int u=2 int leaf=0,non_l_leaf=0,non ...
https://www.eeworm.com/dl/654/289829.html
下载: 74
查看: 1180

其他行业 浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较

浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 ...
https://www.eeworm.com/dl/668/130881.html
下载: 160
查看: 1127