- 博客(5)
- 收藏
- 关注
原创 《C语言小游戏之五子棋》
点击打开链接程序代码如下:#include <stdlib.h>#include <stdio.h>#include <conio.h>#include <string.h>#define MAXIMUS 15 //定义棋盘大小int p[MAXIMUS][MAXIMUS];//存储对局信息char buff[MAXIMUS*2+1][MAXIMUS...
2018-07-14 09:25:28
1193
原创 《计蒜客之两数求和》
给定一个数组 number_inumberi,找到两个数,使得他们的和为一个给定的数值 targettarget。其中:number[index_1] + number[index_2]==targetnumber[index1]+number[index2]==target。注意:index_1index1 必须小于 index_2index2 且不能为 00。假设每一组输入只有唯一的...
2018-05-25 19:32:33
666
原创 《使用Python的turtle模块画玫瑰花》
import turtle# 设置初始位置 turtle.penup()turtle.left(90)turtle.fd(200)turtle.pendown()turtle.right(90)# 花蕊 turtle.fillcolor("red")turtle.begin_fill()turtle.circle(10, 180)turtle.circle(25, 110)turtle.lef...
2018-05-19 11:03:22
10127
1
原创 《C语言小游戏之贪吃蛇程序代码》
//为广大编程游戏爱好者提供一个参考的游戏源代码#include<stdio.h>#include<conio.h>#include<windows.h>#include<time.h>#define framex 5#define framey 5#define wide 20#define high 20int i,j,a[2];//将光标移动到...
2018-05-19 10:46:37
28676
2
原创 C语言学生信息管理系统 (实现了循环插入、删除与修改信息的功能)
点击打开链接#include<stdio.h>#include<stdlib.h>#define INIT_SIZE 100 /*线性表存储空间的初始分配量*/#define INCREMENT 10 /*线性表存储空间的分配增量*///student结构体定义typedef struct{ char sno[15]; //学号 char sname[15];...
2018-05-19 10:33:15
17649
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅