博文
C 语言吧·问题资料大全(2007-03-02 14:50:00)
摘要:
★本吧推荐的几个C编译器:http://post.baidu.com/f?kz=2769360
◆本吧代码格式编辑器:http://post.baidu.com/f?kz=9364381
◆二进制文件与文本文件的转换:http://post.baidu.com/f?kz=21576218
◆本吧代码中显示?:http://post.baidu.com/f?kz=5054984
◆C/C++ 编译器评测及下载:http://post.baidu.com/f?kz=13392270
★★★Turbo C 2.0 设置详细●图解●,
所有用tc产生的问题先来看这个:
http://www.frontfree.net/view/article_275.html
http://post.baidu.com/f?kz=5121327
◆tc2.0下载地址: http://www.programfan.com/down/turboc2.zip
http://www.onlinedown.net/soft/28672.htm
◆tc头文件打不开:http://post.baidu.com/f?kz=2977192
◆怎么把TC的窗口最大化:http://post.baidu.com/f?kz=6179872
◆Turbo C 2.0 函数大全: http://post.baidu.com/f?kz=3085788
◆C语言教程:http://www.72up.com/c.htm
◆C 程序设计读书笔记:http://post.baidu.com/f?kz=4737905
◆TC2.01/TC3.0下载:http://post.baidu.com/f?kz=25666150
◆谭C程序设计(第二版)下载:http://post.baidu.com/f?kz=14275061
◆搜索答案与提问的秘诀:http://post.baidu.com/f?kz=6602487
◆C 语言学习看什么书:http://post.baidu.com/f?kz=5728013
◆如何学好c语言:http://post.baidu.com/f?kz=8642778
◆学 C 容易出错......
随机发牌程序(2006-09-24 09:59:00)
摘要:#define N 52
#include <graphics.h>
#include <stdlib.h>
void Init(void);/*图形驱动*/
void Close(void);/*图形关闭*/
void Play(void);/*发牌的具体过程*/
void Rand(int i,int j);/*随机发牌函数*/
void Sort();
void DrawPuke(int kind,int x,int y,char num);/*画牌*/
char p[4][13]=
{{'2','3','4','5','6','7','8','9','0','J','Q','K','A'},
{'2','3','4','5','6','7','8','9','0','J','Q','K','A'},
{'2','3','4','5','6','7','8','9','0','J','Q','K','A'},
{'2','3','4','5','6','7','8','9','0','J','Q','K','A'}};
/*10用0来表示*/
struct Pai
{
char num;
char kind;
int realnum;
int link;
}newp[52];
/****主函数*****/
void ......
学生信息管理系统(c语言)(2006-09-19 23:36:00)
摘要:#include <stdio.h>
#include <string.h> struct student {
char name[30];
float math;
float chinese;
float english;
float average;
};
int MenuChoice(void);
int EnterAccount(void);
void Enter(struct student *fst);
void Amend(struct student *src);
void Delete(struct student *next);
void Print(struct student *out);
main()
{
struct student one[100] = {0}, *look = one;
int menu, t;
while ((menu = MenuChoice()) != 0)
if (menu >= 1 && menu <= 4 && (t = EnterAccount())) {
look = one + t;
c语言画蜡烛(2006-05-20 17:00:00)
摘要:#include<stdlib.h>
#include<stdio.h>
#include<graphics.h>
int main()
{
int gdriver=VGA, gmode=VGAHI, i,j,size,s2,s3,s4;
initgraph(&gdriver, &gmode, "c:\\tc");
setbkcolor(BLUE);
cleardevice();
setcolor(12);
setfillstyle( 4,4) ;
bar(180,360,200,320); /*蜡烛*/
sector(190,310,0,360,4,6);
setcolor(6);
getch();
closegraph();
}......