1485下载地址 https://docs.qq.com/doc/DWEpnR2pOWU91b3p4?pub=1&dver=2.1.0 #include <reg51.h> #include <intrins.h> #define uchar unsigned char #define uint u ...
分类:
其他好文 时间:
2021-03-17 14:10:52
阅读次数:
0
#include<stdio.h> #include<stdlib.h> typedef char ElemType; //结点定义 typedef struct node{ ElemType data; struct node* lchild,*rchild; }BiTNode,*BiTree; ...
分类:
其他好文 时间:
2021-03-17 14:03:43
阅读次数:
0
前言 C++常用的STL及方法 (上) : C++常用的 STL 及方法 (中上) : C++常用的 STL 及方法 (中) : C++常用的 STL 及方法 (中下) : 目录 STL -- 泛型算法 <algorithm> max() -- 求最大值 min() -- 求最小值 abs() -- ...
分类:
编程语言 时间:
2021-03-17 14:01:43
阅读次数:
0
1493下载地址 https://docs.qq.com/doc/DWEpnR2pOWU91b3p4?pub=1&dver=2.1.0 一个51单片机做的数字信号发生器仿真 可连续调频调幅,显示幅度值,频率,任选波形. #include<reg51.h> #include<absacc.h> #de ...
分类:
其他好文 时间:
2021-03-16 14:12:50
阅读次数:
0
假如分割符文件为 11 22 33 44 55 66 只获取33,66数据,代码如下,核心利用fgets读取到回车终止 #include <sys/types.h> #include <stdio.h> #include <stdbool.h> #define MAX_LEN 1024 bool R ...
分类:
系统相关 时间:
2021-03-16 14:05:13
阅读次数:
0
一、 系统环境: Windows xp以上版本,电脑 二、 设计内容: 程序一共定义五个类,继承关系如图所示 首先我进行了主菜单主函数,会员登录,书记信息查看,购书。又在这些主菜单上进行相对应的子菜单的函数。主菜单如下: #include<string> #include<iostream> #in ...
分类:
其他好文 时间:
2021-03-16 14:02:51
阅读次数:
0
1 #include <iostream> 2 using namespace std; 3 4 long long f(int x ) 5 { 6 long long tot = 0; 7 while(x) 8 { 9 tot += x % 10; 10 x /= 10; 11 } 12 retu ...
分类:
其他好文 时间:
2021-03-16 13:51:43
阅读次数:
0
假设有下面这样的一个程序,源代码如下: 1 /* main.c */ 2 #include "mytool1.h" 3 #include "mytool2.h" 4 5 int main(int argc,char **argv) 6 { 7 mytool1_print("hello"); 8 my ...
分类:
其他好文 时间:
2021-03-16 13:48:47
阅读次数:
0
c语言中程序的循环控制,(while循环) 1、 #include <stdio.h> int main(void) { int i; puts("please input an integer!"); printf("i = "); scanf("%d", &i); while (i >= 0) ...
分类:
编程语言 时间:
2021-03-16 13:47:40
阅读次数:
0
#include <cmath> #include <queue> #include <cstdio> #include <vector> #include <cstring> #include <iostream> #include <algorithm> #define int long lon ...
分类:
其他好文 时间:
2021-03-16 13:45:35
阅读次数:
0