搜索资源列表
quanpaixu
- 冒泡排序 直接选择排序 Shell排序 快速排序 归并排序 堆排序 直接插入排序基本算法 #include<iostream.h> #include<stdlib.h> #include<time.h> const int n=100000 typedef struct{ int key }RedType typedef struct{ RedType *r //r[n+1
魔方阵的问题求解
- #include"stdio.h" #include"stdlib.h" int main() { int i ,j,a[100][100],n,k,flag=1; while(scanf("%d",&n)!=EOF&&(n%2!=0)) { for(i=0;i<n;i++) for(j=0;j<n;j++) a[i][j]=0; j=n/2; a[0][j]=1; i=0
WordAutomation.rar
- 我的自动交易系统Dlg.h, 我的自动交易系统Dlg.cpp - the dialog These files contain your CMyDlg class. This class defines the behavior of your application s main dialog. The dialog s template is in 我的自动交易系统.rc, which can be edited in Microsoft Visual
wangluoliuliang
- 获取数据流量 获取网络 流量 获取网络 流量-include <stdlib.h> #include <stdio.h> #include <pcap.h> void usage() void dispatcher_handler(u_char*, const struct pcap_pkthdr*, const u_char*) void main(int argc, char**argv)
huffmantree
- huffman tree的实现代码,包含huffman.h,minheap.h和main.cpp三个文件-the application of huffmantree
NoteManage
- *模块,运行本程序前应安装金仓短信王标准商务版DG-C1A驱动程序,安装完驱动还需要在程序中加载dllforvc.dll、dllforvc.lib、dllforvc.h文件。运行本程序,打开程序登录界面。输入用户名mr、密码mrsoft,单击“登录”按钮,进入程序主界面。-SMS group sending module, SMS king, gold warehouse standard commercial version of the DG-C1A driver should be
RSA
- 文件里包含了头文件(rsa.h),主函数(main.c)还有rsa.c。用C语言实现的一种非对称加密算法。拿出来给大家分享一下-The file contains header files (rsa.h), the main function (main.c) rsa.c. A non-symmetric encryption algorithm with C language. Out for everyone to share
xiangmu1
- 判断三边是否能构成三角形 如果是的话并求周长面积-#include <stdio.h> #include <math.h> void main() { int a,b,c double p,s printf("请输入三角形的三边长:") scanf(" d, d, d",&a,&b,&c) if ((a+b>c&&a-b<c)==1) { p=(a+b+c)/2 s=sqrt(p*(p-
1
- 首先定义类Point,然后定义类Point的公有派生类Circle,在定义类Circle的公有派生类Cylinder。 类Point的数据成员int型的x和y,用于表示点的坐标位置,有成员函数p_show()、构造函数和析构函数、p_set(),p_show()用于娴熟输出点的坐标,p_set()用于设置x和y的值。 类Circle有新增私有数据成员float型的h和double型的s,表示圆的半径和面积,有成员函数c_area用于计算圆的面积并对s赋值,有成员函数c_set(
about-indias-temple
- 用于计算印度神庙的柱子问题,怎样子才能以最快速的方式算出其最优顺序。-#include stdio.h #include stdlib.h void move(char getone,char putone) { printf( c-> c\n ,getone,putone) } void hanoi(int n,char one,char two,char three) { if(n==1) move(one,thre
YUANDAIMA
- 用二维数组实现矩阵转置,希望初学者能学到一些东西-#include <stdio.h> #define ROW 3 #define COL 4 main() { int matrixA[ROW][COL],matrixB[COL][ROW] int i,j clrscr() printf( Enter elements of the matrixA, ) printf( d* d:\n ,ROW,COL) for( i=0 i<
