自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (3)
  • 问答 (2)
  • 收藏
  • 关注

原创 C二进制打开文件

#include #include #include #define FILE_NAME 100 #define LINE_WIDTH 80 int main() { FILE *pfile; char path[FILE_NAME] = "d:\\test.txt"; fpos_t cur = 0; pfile = fopen(path,"r

2015-08-27 14:28:52 801

转载 C 二进制读取文件

#include #include #include #define MAXLEN 256 #define DISPLAY 80 #define PAGE_LENGTH 20 int main() { char filename[MAXLEN]="d:\\备忘.txt"; FILE *pfile = NULL; unsigned char buff

2015-08-27 11:26:36 441

转载 C语言求质数

#include #include #include #define MEM_PRIMES 100 int test_prime(unsigned long long N); int check(unsigned long long buffer[],size_t count,unsigned long long N); void put_primes(void); struct {

2015-08-25 16:42:02 873

原创 C语言实现绘制柱状图

强撸出来的 #include #include #include typedef struct data { int* array; int count; }DATA; int* getLimit(int* a,int count); void drawBar(int* a,int count); DATA getData(); int main() { DA

2015-08-21 10:49:24 10521 1

转载 C黑白棋

#include #include #include #include #include #define SIZE 8 const char comp_c = 'X'; const char player_c = 'O'; void display(char board[][SIZE]); int valid_moves(char board[][SIZE],bool moves[

2015-08-13 09:46:58 1469

原创 C井字棋

#include #include int main() { char qipan[3][3] = {{' ',' ',' '},{' ',' ',' '},{' ',' ',' '}}; int step = 0; int player = 0; int pos = 0; bool win = false; int i , j;

2015-08-05 16:16:09 703

原创 C学习备忘录

1. system("pause"); 2.long long a = 0LL; 3.printf("%lld",a); 4.fflush(stdin); 5.for (; (clock()-now) 6.连接字符串 char a[40] = "this is a big "; char b[] = "game show! WO~"; int count1

2015-08-05 12:02:32 716

原创 猜数字小游戏

#include #include #include #include int main() { char input = 'y'; int limit = 2; long long getNum = 0LL; long long showNum; int i; clock_t now; int score = 0;

2015-08-05 11:44:03 451

幻兽帕鲁mod安装指南(自用mod)

幻兽帕鲁mod安装指南(自用mod)

2024-02-07

HTMLTestRunner.py

HTMLTestRunner修改为兼容python3。使用时将文件名去掉"[py3]",文件放入对应Lib文件夹下,代码导入import HTMLTestRunner

2016-05-26

C程序设计语言(第2版.新版)

[C程序设计语言(第2版.新版)](The.Programming.Language).Brian.W.Kernighan.扫描版

2015-09-11

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除