China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 20:37
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » A program for calculating card codes that I recently made View 3,574 Replies 1
Original Poster Posted 2009-12-06 04:04 ·  中国 广东 深圳 南山区 电信
中级用户
★★
部落守望者
Credits 351
Posts 140
Joined 2006-06-19 17:11
20-year member
UID 57261
Gender Male
Status Offline
Recently, I am working on a card recognition machine. Since I need to count the codes with certain symmetric relationships on the cards, I wrote a calculation program under TC (to find numbers with symmetric relationships within the range of 0 to 256). According to different symmetric relationships, various numbers are stored in different data files. Friends who are interested can study it.

After running, 8 files are generated, representing 8 kinds of combination relationships. For example, 0x01 and 0x08 are vertically symmetric, 0x01 and 0x10 are horizontally symmetric, and 0x01 and 0x80 are centrally symmetric. The four numbers 0x01, 0x08, 0x10, and 0x80 form a set of symmetric relationships, and this program is used to generate all sets of symmetric relationships within 0 to 255.

[ Last edited by enjoyer on 2009-12-17 at 23:10 ]
Attachments
cardcode.rar (7.21 KiB, Downloads: 14)
一切从底层开始
Floor 2 Posted 2018-10-06 22:25 ·  中国 天津 南开区 联通
初级用户
Credits 22
Posts 13
Joined 2018-10-04 19:38
7-year member
UID 183122
Gender Male
Status Offline
Forum Jump: