文件名 文件描述 浏览
◆ factorial.htm

Method of Handling Factorials of Any Size

处理任意大小的阶乘

浏览
◆ A2E.H.htm

ASCII <=> EBCDIC conversions

ASCII码与EBCDIC码的转换

浏览
◆ Algorithm.htm

My friend asked me to write this algorithm for him, so that on his displays he could have the strings of integers containing commas. So I spent very little time, and put together this

用数字值添加逗号到字符串

浏览
◆ Animacion básica.htm

For teching users to make an animation on C++

在C++作动画

浏览
◆ Another soundex variant.htm

Modified by M. Stapleton of Graphic Bits. Uses compressed heptal - eliminates codes for non-trailing zeros

图象位的改变

浏览
◆ Artificial Intelligence (ver. 002).htm

This program is an improved demonstration or AI ver.001. A lot improvement had been made. Now, this program demonstrates an object which will run away and move close to mouse pointer within a certain distance

一个人工智能的演示代码

浏览
◆ Artificial Intelligence (ver.001).htm

This code demonstrating an object which could detect the distance between mouse pointer and itself then run away from the mouse pointer if the distance is within the defined safezone

一个人工智能的演示代码

浏览
◆ BORLAND.htm CALCULATE 2, 3 AND 4 DETERMINANT EQUATION AND SYSTEM WITH 2 AND 3 EQUATION能计算行列式方程 浏览
◆ Bubble Sort.htm

The purpose of this code is to show novice programmers the simple and classic sorting method of Bubble Sort. The code is in C/C++ and should be compilied in DJGPP. The code includes the Bubble Sort Algorithm in action

冒泡排序法(用C/C++编写)

浏览
◆ Byte to Binary to Byte.htm

This is one of my first cracks at C/C++. Coming off BASIC after 20 yrs. It's not very sophisticated, but educational. This code will take a BYTE and convert it to BIN and back again. I've dispensed with loops to solve for binary and have chosen the direct method. This is very fast. If there is a faster way please let me know

在字节和进制之间转换的快速算法

浏览
◆Encrypter/Decrypter.htm

has an algorithim to encrypt and decrypt a word or phrase that you type in

一个对词/词语加解密的算法

浏览
◆ Change numbers to words.htm

changes the numeric values entered into words

改变词的数字值

浏览
◆ Character diamond.htm

Demonstration of for loops. The user enters a character and number of lines and a diamond made up of that character with a height of the number of lines inputted is displayed on the screen. The program is done without gotoxy

字符方块的演示

浏览
◆ CharacterSearch.htm

This is a neat little algorithm I wrote, that I use to search for characters that are not inside of " "

字符查找算法

浏览
◆ computalk.htm

Make your computer talk

可以使你的计算机会说话

浏览
◆ Convert3values .htm

The code take three values REd, Green and Blue and returns a Long form of the Compleate color

把颜色3值转化为一个

浏览
◆ ConvertArabicNumbers .htm

This program converts any Arabic number you type in (upto 4 digits) into a Roman Numeral

把阿拉伯数字转换为罗马数字

浏览
◆ Convertnumberin.htm

This code was created to properly asign names to columns in a database program I have been writing. an example of how it numbers is as following: A,B,C...Z,AA,AB...ZZ,AAA,AAB... and so on This code uses recursion

把数字转化成列

浏览
◆ Convert_Roman_Nos.htm THIS IS THE "FASTEST" ALGORITHM FOR CONVERSION OF ROMAN NUMERALS INTO NUMBERS.IT WILL CONVERT ALL ROMAN NUMERALS INTO NUMBERS IN RECORD TIME.IF ANY ONE KNOWS ANY FASTER METHOD PLEASE LET ME KNOW一个快速的转换罗马数字的算法 浏览
◆ Diagnoal Line Drawing Algorithm.htm

draw a line from any 2 points, algorithm orignaly written by Bresenham, in 1950

可从任意两点画一条线

浏览
◆ Effecient prime number deciding algorithm.htm

Basic introduction to effecient problem solving

选择质数的有效算法

浏览
◆ Efficient Prime Number Generator.htm

Generates prime numbers up to a defined limit. It uses an array to track previous primes and checks to see if a number is divisible by any prime up to the square root of the number

质数的产生器

浏览
◆ English soundex optimized for use with surnames.htm

Preserves first character, uppercase name, drop non-alpha characters, convert letters to Soundex digits, and returns first N letters. Written by Joe Celko. Originally published in "The C Gazette" vol. 4 nr. 2 Source code may be freely used when source ...(description truncated)

英语字母探测

浏览
◆ factors.c.htm

prints ALL the factors of number(s).. doesn't matter how many arguments you take, it'll calculate them all

计算数的因数分解

浏览
◆ Fibboncci (Iteration).htm

Fastest way to generate the value at the nth fibboncci number. uses less memory than usual recursion code

一个计算n阶fibboncci值的快速方法

浏览
◆ Fight Engine.htm

This Code Can Be Used In A Text Based Adventure As A Engine Which Can Be Used To Fight You Against A Monster ect

一段文本应用代码

浏览
◆ Find A Number.htm

Use Code To Find A Number Inside An Array

在矩阵中找一个数

浏览
◆ get cycle count, and cpu speed algorithms.htm

my friend Micheal asked me to post this for him, dont vote. he says this " basically gets the processor speed, to make sure its fairly accurate you should retrieve the speed about 4 times then average the numbers together, usually comes out dead on for

得到CPU的时钟和速度

浏览
◆ Hanoi Towers.htm

This code will help you to solve the famous Hanoi Towers problem. This code will be helpful for newbies who want to know how to use recursivity and file output. I had see a similar one but written in C, for those who are learning C++, this will be helpful

用C++写的用来解决有名的Hanoi Towers问题

浏览
◆ Include-File Search.htm

The program ,when run of course :-), looks into a specified 'include file' and finds every other include file that is needed by that particular file, even if a particualr inlude file isn't directly linked from the starting file

找一个具体的'include file'头文件

浏览
◆ Linked List.htm

This is an example of an linked list of integers. It is a great example for beginners, because it is an important topic of computer science. It helps in fields like OOP, CompScie, and also can be easily ported to other languages

一个整数链表的例子

浏览
◆ Longest Increasing Subsequence.htm

This code generates random numbers and then determines the longest increasing subset of numbers. It does so in one pass by modifying 'best' increasing subsequences of increasing size. The most expensive part of this algorithm is probably the random number

产生随机数然后得到最长的递增子集

浏览
◆ MatrixSolver.htm

MatrixSolver program uses a recursive function to compute the determinant of a square matrix. It works for square matrices of all sizes. This file consists of the Matrix class definition and the main function

用递归函数来计算一个方阵的秩

浏览
◆ Max, min and average.htm finds the maximum, minimum and the average values of the numbers entered求数的最大,最小和平均值 浏览
◆ Maze.htm This code was created by me on March 1 of 2000. After a bit of experimenting I found out how to create a simple maze. This could be also known as "AI" how the computer has to "think" its way through the maze to the Finish [S = START ; F = FINISH] The *'s 一个迷宫游戏代码 浏览
◆ messagebox maker.htm

This library will provide a messagebox maker

消息框产生器

浏览
◆ Moon Phases.htm

This code calculates the current phase of the moon. The user has to input the date and time, this makes the code more portable to different operateing systems

一段计算月亮当前阶段的代码

浏览
◆ Ntoa/uNtoa.htm

Smarter versions of Itoa Ltoa and the like. uNtoa handles unsigned numeric and Ntoa uses signeduNtoa

处理无符号数而 Ntoa处理符号数

浏览
◆ Parse Text for Email Addresses.htm

This program shows how to use pointers to do some basic parsing. It will take a text file and parse out and store the email addresses contained in it

分列和储存e-mail地址

浏览
◆ Patch ICQ.htm

Patch ICQ

修复ICQ

浏览
◆ patternd.c.htm

Delete a pattern from the string.. Also illustrates how gets() may be implemented

删除字符模式,同时也例示gets()的执行过程

浏览
◆ Phoneticstring .htm

The Metaphone algorithm was developed by Lawrence Phillips. Like the Soundex algorithm, it compares words that sound alike but are spelled differently. Metaphone was designed to overcome difficulties encountered with Soundex

语音字符匹配,它克服了探测算法遇到的问题

浏览
◆ Prime #s.htm

Simple prime number generator. If SLOW is defined, hit enter to quit. Otherwise, hit any key

简单的质数产生器

浏览
◆ Prime Number List.htm

The program calculate the prime number list from 2 to SIZE. I am looking for a better algorithm to determine the prime number list. If you know one, please e-mail me or post the code. Thanks

质数列表的计算程序

浏览
◆ tobase.c.htm

tobase.c converts base 10 numbers into any base type that is in range 2 - 36

10个基本的数的转换

浏览
◆ SYSTEM 2,3 OPERATION.htm

CALCULATE 2, 3 AND 4 DETERMINANT EQUATION AND SYSTEM WITH 2 AND 3 EQUATION

计算行列式方程

浏览
◆ strlow.c.htm

This just shows how easy it is to lower all the letter cases in a string

字符处理

浏览
◆ String Lower Function.htm

I found that on some unix systems the string.h header file didn't have strlwr, strrev, strupr within them. So I had to come up with a string lower function for this

字符处理函数

浏览
◆ Standard English soundex.htm by Bob Jarvis标准的英文搜索 浏览
◆ simplest sort and search.htm

This code shows two common sort algorythms, Quicksort and insertion sort. It also shows a binary search

快速排序和插入排序

浏览
◆ Simple Prime Number Generator.htm

Generates prime numbers up to 9999999

到9999999的质数产生器

浏览
◆ Shrink string (Recursion).htm

shrinks the default string "byte" using recursion. its a A-Level past paper question

用递归收缩缺省的字符字节

浏览
◆ RGBsform.htm RGB2Lng Makes a rgb long from r, g and b Returns the rgb long Lng2RGB Puts the RGB values of clrLng in retR, retG and retB Returns clrLng 颜色值的转换 浏览
◆ Selection Sort.htm

The purpose of this code is to teach the classic Selection Sort Algorithm. Code is live, and givin within a driving program. Language is C/C++ and the compiler is DJGPP

一个C/C++语言的选择排序

浏览
◆ rvArray.htm

Use a single-subscripted array to read in 20 numbers between 10 and 100 inclusive. As each number is read, print it only if it is not a duplicate of a number already read

读数然后显示未读过的数

浏览
◆ Row Reduction Algorithm.htm

This code takes in the values for a1, a2, and a3 and b1, b2, and b3 from the equations a1x + a2y = a3 b1x + b2y = b3 and solves the system

从系统方程中得到系数值形成矩阵,然后解系统

浏览
◆ Roundoff.htm Rounds off a number to two decimal places一个数的四舍五入 浏览
◆ Real Number Verification.htm

This code copies the method in which the compiler validates a signed real number. It shows how a string can be validated upin entry

编译器确认符号实数

浏览