This a very simple Yee algorithm 3D FDTD code in C implementing the free space form of Maxwell s equations on a Cartesian grid. There are no internal materials or geometry. The code as delivered simulates an idealized rectangular waveguide by treating the interior of the mesh as free space/air and e ...
ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file.
• Assume a file with correct data (no garbage, characters, etc.).
• you must check and provide appropriate execution for 2 extra cases, namel ...
数字运算,判断一个数是否接近素数
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum o ...
* Function:
* 1. Replace the first oldstr with newstr in srcstr
* Arguments:
* IN :
* srcstr
* oldstr
* newstr
* OUT :
* srcstr
* Return:
* 1. If find and replace one oldstr with newstr in srcstr , return 1
* 2. If find no oldstr in srcstr , return 0
* 3. If error (malloc return NULL) ...
一个游戏
the hardware for the game includes a number of displays, each with a button and
-- a light, that each represent a bin that can store marbles (beans).
--
-- The display indicates the number of marbles in each bin at any given time.
-- The light indecates that the present bin is not empty a ...
Due to an increase in demand for and questions about direct disk
access for Micrososft platforms, and due to the fact that Microsoft
has no API for direct disk access, I am releasing this library
much earlier than I intended at that start. I am still working on
this code.
红外线遥控器读码软件,显示红外线波型,读取并保存码
IR Remote Control Unit Code Read System
产品详细描述:
能够像显示器一样显示红外线码的波型
可以读多达150种格式的红外线码
显示红外线码的时间非常准确,误差只有几个微秒。
具有错误检测功能
保存红外线码功能
自动识别码的格式
比较样机与所写的新软件的遥 ...
加密算法
Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives:
- To generate an RSA key
cryptest g
- To encrypt and decrypt a string using RSA
cryptest r
- To calculate MD5, SHS, and RIPEMD-160 message digests:
cryptest m file
- To encrypt and decrypt a string using DES-E ...