GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NextWeb4/C-practice: Numbered C language practice collection covering basics, algorithms, data structures, files, graphics, and small projects.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
000_My Set
000_My Set
 
 
001.第一个C程序
001.第一个C程序
 
 
002.运行多个源文件
002.运行多个源文件
 
 
003.求整数之积
003.求整数之积
 
 
004.比较实数大小
004.比较实数大小
 
 
005.字符的输出
005.字符的输出
 
 
006.显示变量所占字节数
006.显示变量所占字节数
 
 
007.自增自减运算
007.自增自减运算
 
 
008.数列求和
008.数列求和
 
 
009.乘法口诀表
009.乘法口诀表
 
 
010.猜数字游戏
010.猜数字游戏
 
 
011.模拟ATM(自动柜员机)界面
011.模拟ATM(自动柜员机)界面
 
 
012.用一维数组统计学生成绩
012.用一维数组统计学生成绩
 
 
013.用二维数组实现矩阵转置
013.用二维数组实现矩阵转置
 
 
014.求解二维数组的最大最小元素
014.求解二维数组的最大最小元素
 
 
015.利用数组求前n个质数
015.利用数组求前n个质数
 
 
016.编制万年历
016.编制万年历
 
 
017.对数组元素排序
017.对数组元素排序
 
 
018.任意进制数的转换
018.任意进制数的转换
 
 
019.判断回文数
019.判断回文数
 
 
020.求数组前n元素之和
020.求数组前n元素之和
 
 
021.求解钢材切割的最佳订单
021.求解钢材切割的最佳订单
 
 
022.通过指针比较整数大小
022.通过指针比较整数大小
 
 
023.指向数组的指针
023.指向数组的指针
 
 
024.寻找指定元素的指针
024.寻找指定元素的指针
 
 
025.寻找相同元素的指针
025.寻找相同元素的指针
 
 
026.阿拉伯数字转换为罗马数字
026.阿拉伯数字转换为罗马数字
 
 
027.字符替换
027.字符替换
 
 
028.从键盘读入实数
028.从键盘读入实数
 
 
029.字符行排版
029.字符行排版
 
 
030.字符排列
030.字符排列
 
 
031.判断字符串是否回文
031.判断字符串是否回文
 
 
032.通讯录的输入输出
032.通讯录的输入输出
 
 
033.扑克牌的结构表示
033.扑克牌的结构表示
 
 
034.用“结构”统计学生成绩
034.用“结构”统计学生成绩
 
 
035.报数游戏
035.报数游戏
 
 
036.模拟社会关系
036.模拟社会关系
 
 
037.统计文件的字符数
037.统计文件的字符数
 
 
038.同时显示两个文件的内容
038.同时显示两个文件的内容
 
 
039.简单的文本编辑器
039.简单的文本编辑器
 
 
040.文件的字数统计程序
040.文件的字数统计程序
 
 
041.学生成绩管理程序
041.学生成绩管理程序
 
 
042.插入排序
042.插入排序
 
 
043.希尔排序
043.希尔排序
 
 
044.冒泡排序
044.冒泡排序
 
 
045.快速排序
045.快速排序
 
 
046.选择排序
046.选择排序
 
 
047.堆排序
047.堆排序
 
 
048.归并排序
048.归并排序
 
 
049.基数排序
049.基数排序
 
 
050.二叉搜索树操作
050.二叉搜索树操作
 
 
051.二项式系数递归
051.二项式系数递归
 
 
052.背包问题
052.背包问题
 
 
053.顺序表插入和删除
053.顺序表插入和删除
 
 
054.链表操作(1)
054.链表操作(1)
 
 
055.链表操作(2)
055.链表操作(2)
 
 
056.单链表就地逆置
056.单链表就地逆置
 
 
057.运动会分数统计
057.运动会分数统计
 
 
058.双链表
058.双链表
 
 
059.约瑟夫环
059.约瑟夫环
 
 
060.记录个人资料
060.记录个人资料
 
 
061.二叉树遍利
061.二叉树遍利
 
 
062.浮点数转换为字符串
062.浮点数转换为字符串
 
 
063.汉诺塔问题
063.汉诺塔问题
 
 
064.哈夫曼编码
064.哈夫曼编码
 
 
065.图的深度优先遍利
065.图的深度优先遍利
 
 
066.图的广度优先遍利
066.图的广度优先遍利
 
 
067.求解最优交通路径
067.求解最优交通路径
 
 
068.八皇后问题
068.八皇后问题
 
 
069.骑士巡游
069.骑士巡游
 
 
070.用栈设置密码
070.用栈设置密码
 
 
071.魔王语言翻译
071.魔王语言翻译
 
 
072.火车车厢重排
072.火车车厢重排
 
 
073.队列实例
073.队列实例
 
 
074.K阶斐波那契序列
074.K阶斐波那契序列
 
 
075.绘制余弦曲线和直线的迭加
075.绘制余弦曲线和直线的迭加
 
 
076.计算高次方数的尾数
076.计算高次方数的尾数
 
 
077.打鱼还是晒网
077.打鱼还是晒网
 
 
078.怎样存钱以获取最大利息
078.怎样存钱以获取最大利息
 
 
079.阿姆斯特朗数
079.阿姆斯特朗数
 
 
080.亲密数
080.亲密数
 
 
081.自守数
081.自守数
 
 
082.具有abcd=(ab+cd)2性质的数
082.具有abcd=(ab+cd)2性质的数
 
 
083.验证歌德巴赫猜想
083.验证歌德巴赫猜想
 
 
084.素数幻方
084.素数幻方
 
 
085.百钱百鸡问题
085.百钱百鸡问题
 
 
086.爱因斯坦的数学题
086.爱因斯坦的数学题
 
 
087.三色球问题
087.三色球问题
 
 
088.马克思手稿中的数学题
088.马克思手稿中的数学题
 
 
089.配对新郎和新娘
089.配对新郎和新娘
 
 
090.约瑟夫问题
090.约瑟夫问题
 
 
091.邮票组合
091.邮票组合
 
 
092.分糖果
092.分糖果
 
 
093.波瓦松的分酒趣题
093.波瓦松的分酒趣题
 
 
094.求π的近似值
094.求π的近似值
 
 
095.奇数平方的有趣性质
095.奇数平方的有趣性质
 
 
096.角谷猜想
096.角谷猜想
 
 
097.四方定理
097.四方定理
 
 
098.卡布列克常数
098.卡布列克常数
 
 
099.尼科彻斯定理
099.尼科彻斯定理
 
 

Repository files navigation

English 简体中文 日本語

C Practice

A numbered historical collection of C exercises covering fundamentals, algorithms, data structures, files, graphics, and small programs.

Last commit Repository size GitHub stars C

Archive scope

The repository is a learning archive, not one maintained program. Each top-level directory is an independent example or project; the collection moves from short syntax demonstrations to DOS-era graphics, games, and larger source sets.

No package manager, language-standard declaration, common build file, test harness, or supported compiler version applies to the entire archive.

Audited inventory

The refreshed default-branch tree contains 599 files in 221 top-level directories. The directory sequence consists of 000_My Set/ and numbered entries 001.第一个C程序/ through 220.进销存管理系统/.

Format Count Meaning
.c 266 C source files
.exe 226 Historical compiled programs; not trusted release artifacts
.dat 52 Example-specific input or data files
.h 17 Headers belonging to their enclosing example
.dwg 6 CAD-related data under the larger examples
.cpp 5 Supplemental C++ experiments, mainly under 000_My Set/
.com 4 Historical DOS binaries
.asm 2 Assembly source used by legacy examples

Counts describe tracked files only. They do not mean that 221 examples compile or behave correctly on a current system.

Learning map

Range or path Representative topics
001.第一个C程序/ to 041.学生成绩管理程序/ Expressions, control flow, arrays, pointers, structures, strings, and files
042.插入排序/ to 049.基数排序/ Insertion, Shell, bubble, quick, selection, heap, merge, and radix sorting
050.二叉搜索树操作/ to 074.K阶斐波那契序列/ Trees, lists, graphs, stacks, queues, recursion, and coding problems
075.绘制余弦曲线和直线的迭加/ onward Numerical exercises, graphics, utilities, and increasingly applied programs
207.商人过河游戏/ to 216.五子棋游戏/ Puzzle, typing, maze, board, and arcade-style games
217.综合CAD系统/ to 220.进销存管理系统/ Larger CAD, editor, library, and inventory-management source collections

Repository map

Path pattern Contents and boundary
000_My Set/ Additional early C and C++ experiments; not a shared library
001.* to 041.* Mostly small introductory examples, sometimes with a data file or executable
042.* to 074.* Algorithm and data-structure exercises
075.* to 206.* Mathematics, text, file, graphics, and utility examples
207.* to 216.* Standalone game projects
217.综合CAD系统/, 218.功能强大的文本编辑器/ Multi-file DOS-era source sets with local historical notes
219.图书管理系统/, 220.进销存管理系统/ Larger record-management examples with local data and binaries

Headers, data files, fonts, project metadata, and binaries belong to the enclosing directory. Do not move them into a repository-wide include or data folder.

Historical requirements

Simple examples may be adaptable to a current C compiler, but the repository does not declare a common C standard or compiler invocation. Inspect the selected source before choosing a toolchain.

The local notes for 217.综合CAD系统/ and 218.功能强大的文本编辑器/ identify Turbo C 2.0/3.0-era assumptions; the CAD notes also mention TASM. The editor source includes DOS- and BIOS-specific headers. Graphics, direct hardware access, memory models, and assembly integration are therefore per-example compatibility concerns, not optional repository dependencies.

Safe per-example workflow

  1. Select one numbered directory and inventory all of its source, header, data, font, project, and binary files.
  2. Read the source for compiler-specific headers, fixed paths, direct hardware access, file writes, and expected command-line input.
  3. Choose a compiler or emulator for that one example; record its version and working directory.
  4. Build from source in an isolated copy and use synthetic input. Prefer the rebuilt program over tracked .exe or .com files.
  5. Compare behavior with the source and local data, then document failures without changing unrelated examples.

There is intentionally no copy-and-paste command here: a command valid for a small ISO C exercise would be misleading or unsafe for a DOS graphics project.

Compatibility and safety

  • The 226 .exe and 4 .com files are unverified historical binaries. Do not run them on a normal workstation.
  • DOS APIs, BIOS access, graphics libraries, segmented memory, and Turbo C extensions may fail under modern compilers.
  • Some text and comments show legacy Chinese encoding. Preserve raw bytes and verify encoding before editing source or notes.
  • .dat, font, drawing, and configuration files may be required through relative paths; moving an executable can change behavior.
  • Larger examples can read or overwrite local files. Use a disposable directory and inspect file operations before execution.

Validation boundaries

No repository-wide run, test, build, lint, or format command was found. Compiling one source file cannot establish coverage for the other 220 directories, and the tracked binaries are not test oracles.

For a changed example, record the compiler, target platform, exact source set, input, output, and side effects. Documentation-only changes should verify paths, language links, Markdown structure, and the inventory against the complete tree.

Maintenance and contributions

Contributions should stay within one example unless an inventory correction necessarily spans the archive. Preserve numeric and Chinese directory names, local fixtures, original encodings, and the distinction between source and historical binaries.

Keep English, Simplified Chinese, and Japanese READMEs aligned in section order, counts, paths, links, and risk statements. Do not introduce a repository-wide framework solely to modernize one exercise.

Provenance and license

See LICENSE. It is a rights and provenance notice, not an open-source license: it grants no permission to use, copy, modify, deploy, or redistribute original project material. Third-party material remains subject to its own rights and terms.

The archive may combine instructional examples and bundled assets from different sources. Confirm authorship and permission before copying, modifying, or redistributing source, binaries, fonts, drawings, or data.

Maintainer

  • HaoXiang Huang
  • [email protected]
  • Project homepage

About

Numbered C language practice collection covering basics, algorithms, data structures, files, graphics, and small projects.

nextweb4.github.io/

Topics

algorithmsarchivecc-languagedata-structureslearning-notesprogramming-practice

Resources

Readme
License
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.