CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - h.3 - List
[
CSharp
]
jasmine9
DL : 0
哈希表查找、分块查找 1. 编写一个程序,输出在顺序表{8,14,6,9,10,22,34,18,19,31,40,38,54,66,46,71,78,68,80,85,100,94,88,96,87}中采用分块查找方法(每块的块长为5,共有5块)查找关键字46的过程. 2. 编写一个程序实现哈希表的相关运算, 并在此基础上完成如下功能: (1) 建立{16,74,60,43,54,90,46,31,29,88,77}哈希表A[0…12], 哈希函数为: H(k)=key % 13, 并采用线性探查法解决冲突. (2) 在上述哈希表中查找关键字为29的记录. (3) 在上述哈希表中删除关键字为77的记录,再将其插入
Date
: 2008-10-13
Size
: 4.56kb
User
:
jiangyumin
[
CSharp
]
用C及内嵌汇编对IO端口的32bit读写
DL : 0
对I/O端口进行32bit的读些,以满足对0xCF8和0xCFC端口的控制。 文件为.h的c头文件。
Date
: 2010-03-25
Size
: 549byte
User
:
ding_wing
[
CSharp
]
jasmine9
DL : 0
哈希表查找、分块查找 1. 编写一个程序,输出在顺序表{8,14,6,9,10,22,34,18,19,31,40,38,54,66,46,71,78,68,80,85,100,94,88,96,87}中采用分块查找方法(每块的块长为5,共有5块)查找关键字46的过程. 2. 编写一个程序实现哈希表的相关运算, 并在此基础上完成如下功能: (1) 建立{16,74,60,43,54,90,46,31,29,88,77}哈希表A[0…12], 哈希函数为: H(k)=key % 13, 并采用线性探查法解决冲突. (2) 在上述哈希表中查找关键字为29的记录. (3) 在上述哈希表中删除关键字为77的记录,再将其插入
Date
: 2025-12-16
Size
: 4kb
User
:
jiangyumin
[
CSharp
]
sportsmeeting
DL : 0
数据结构——运动会 为帮助同学们尽快进入编程状态特提供此例 1.将SqList.h、Mdefine.h、sport.c放在同一目录下 2.按下述方法编译运行即可,体验一下 编译包含有自定义的.h文件的.c文件 一种方法: ⑴.将.c和.h文件放在某一目录下(例如:datastruct) ⑵.改变用户工作目录(用户文件所在目录) 选择"File/Chaire Dir"打开新目录输入框,输入选择的用户工作目录datastruct,执行Change Dir 改变工作目录。否则对.c文件包含的自定义的.h文件提示No open ⑶.在编辑器中打开.c文件,进行编译,运行即可 另一种方法: 在上一种方法的基础上 ⑴. 打开project菜单,选择open project ,在.c和.h文件的同一目录下创建一个工程文件 ⑵. 打开project/Add Item菜单,输入项目名,然后将.c文件增加到工程文件中。不用将.h文件加入。 ⑶.在工程文件中双击.c文件,打开.c文件,进行编译,运行即可 3. ReadFormFile(SqList &L) 从文件读入运动员成绩信息操作作为示例 -err
Date
: 2025-12-16
Size
: 2kb
User
:
ban
[
CSharp
]
fft
DL : 0
fft#include <math.h> #define SWAP(a,b) tempr=(a) (a)=(b) (b)=tempr //当isign=1时,将输入数据data[1..2*nn]用它的离散Fourier变换系数代替 //当isign=-1时,将输入数据替换为其的离散IFFT系数乘以nn //data是一个保存nn个复数的数组 //Fourier系数的保存方法为F0的实部和虚部保存在data[1],data[2] //正的一次谐波系数保存在data[3],data[4] //负的一次谐波系数保存在data[2*nn-1],data[2*nn] //最高次谐波系数保存在data[nn+1],data[nn+2] //nn必须为2的幂-fft
Date
: 2025-12-16
Size
: 1kb
User
:
jakey
[
CSharp
]
OpenGL
DL : 0
OPENGL库文件,1.将开发库中的.h文件拷贝到Visual C++ 6.0的\Include\GL目录中 2.将.lib文件拷贝到Visual C++ 6.0的\lib目录中 3.将.dll文件拷贝到操作系统的system32目录中-OPENGL vc++
Date
: 2025-12-16
Size
: 725kb
User
:
hugh
[
CSharp
]
class
DL : 0
人财政支出管理,因为我觉得这个程序非常实用,编完了以后自己也可以使用。按照原来的格式,是普通的结构化程序设计,而且是面向过程的,程序中没有使用类或对象,结构比较清晰。它使用了四个头文件都是来源于C语言的标准库函数,分别是:1 #include<iostream.h> 2 #include<fstream.h> 3 #include<conio.h> 4 #include<iomanip.h>。第一个控制文件输入输出,是流类库中最常用的头文件。它包含了”ios.h” ”stream.h ”istream.h” 和”osream.h”。 而输入输出文件流部分在#include<fstream.h>中说明。#include<conio.h>#include<iomanip.h>诗歌与设置宽度有关的头文件,对应的函数总有setw()。-Expenditure management people, because I think this program is very useful, since you can also use your own knitting finished. According to the original format, is a common structured programming, and is process-oriented, the program does not use a class or object, the structure is relatively clear. It uses four header files are derived from the C language standard library functions, namely: 1# include <iostream.h> 2# include <fstream.h> 3# include <conio.h> 4# include <iomanip. h>. The first control file input and output, is the most commonly used streaming library header files. It contains "ios.h" "stream.h" istream.h "and" osream.h ". While input and output file stream sections describe in# include <fstream.h> in.# Include <conio.h># include <iomanip.h> poetry and set the width of the head of the relevant documents, the corresponding function is always setw ().
Date
: 2025-12-16
Size
: 2kb
User
:
jessica
[
CSharp
]
YUANDAIMA
DL : 0
用二维数组实现矩阵转置,希望初学者能学到一些东西-#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<ROW i++ ) { for( j=0 j<COL j++ ) { scanf( d ,&matrixA[i][j]) } } for( i=0 i<ROW i++ ) { for( j=0 j<COL j++ ) { matrixB[j][i] = matrixA[i][j] } } printf( MatrixB, ) printf( d* d:\n ,COL,ROW) for( i=0 i<COL i++ ) { for( j=0 j<ROW j++ ) { printf( 8d ,matrixB[i][j]) } printf( \n ) } printf( \n Press Any Key to Quit... \n ) getch() }
Date
: 2025-12-16
Size
: 10kb
User
:
gansiyi
[
CSharp
]
DoubleLinkList
DL : 0
初始化双链表H(H为单链表头指针) 依次采用尾插法插入’a’,’b’,’c’,’d’,’e’五个字符元素 输出双链表H 输出双链表H的长度 判断双链表H是否为空 输出双链表H的第三个元素 输出双链表H中字符元素’d’的位置 在第四个元素位置上插入字符元素’f’ 输出双链表H 删除双链表H的第3个元素 输出双链表H 释放并销毁双链表H - Initialized double-linked list H (H is single-chain head pointer) Insert the five-character elements a , b , c , d , e in turn Output double linked list H Outputs the length of double-linked list H Determine if the double-linked list H is empty Outputs the third element of the double-linked list H Outputs the position of the character element d in double-linked list H 插 Insert the character element f at the fourth element position Output double linked list H Delete the third element of double-linked list H Output double linked list H Release and destroy the double linked list H
Date
: 2025-12-16
Size
: 1kb
User
:
黄诗乐
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.