首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
#include "graphics.h"
#include "math.h"
#include "dos.h"
#include "conio.h"
#include "stdlib.h"
#include "stdio.h"
#include "stdarg.h"
#define maxpts 15
#define pi 3.1415926
struct pts {
int x, y;
};
......................
阅读全部 | 我是个宝宝 贴于 2017年6月12日 22:48     hide bbsi
#include<stdio.h>
#include<conio.h>                                      /*清屏*/
#include <stdlib.h>                                    /*显示目录*/
#include<string.h>
#define NUM 100
struct node
{
 int jcbh;      //教材编号
 char jcmc[100];  //教材名称
 char zz[100];    //作者
 char cbs[100];    //出版社
 float cbsj;    //出版时间
......................
阅读全部 | 七点恒 贴于 2017年6月11日 22:39     hide bbsi
/**********************
*  函数名称: GetPosition()
*  函数类型:VOID
*  函数功能: 搜索手写数字的位置,赋值给bottom,top,right,left
**********************/
#include<stdio.h>
#include <stdlib.h>
#include <malloc.h>

 void GetFeature:GetPosition()
{
  with=GetWidth();
......................
阅读全部 | 汉川费 贴于 2017年6月10日 21:03     hide bbsi
#include<stdio.h>
#include<stdlib.h>
typedef struct Node
{
    char data;
    struct Node*next; 
}*linklist;
void readdata(linklist head)

linklist p;
    char a;
    scanf("%c",&a);
......................
阅读全部 | Y22 贴于 2017年5月31日 21:02     hide bbsi
#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main()
{
    char cmd[20]="shutdown -s -t ";
    char t[5]="0";
    int c;

    system("title C语言关机程序");  //设置cmd窗口标题
    system("mode con cols=48 lines=25");  //窗口宽度高度 
......................
阅读全部 | z1195480723 贴于 2017年5月30日 21:06     hide bbsi
/********************************
**
**名称:循环打印星形
**版权:ZSPM
**邮箱:zspm@qq.com
**
*********************************/

#include<stdio.h>
#include <stdlib.h>

int main()
......................
阅读全部 | ZSPM 贴于 2017年5月22日 22:29     hide bbsi
/********************************
**
**名称:冒泡排序
**版权:ZSPM
**邮箱:zspm@qq.com
**
*********************************/

#include <stdio.h>
#include <stdlib.h>
#define N 5  //宏定义数组的大小
int main() 
......................
阅读全部 | ZSPM 贴于 2017年5月22日 22:16     hide bbsi
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
double N(double,double);
int main()
{
    double x0 = 4.6;
    double e = 0.000001;
    printf("最小正根=%f\n",N(x0,e));
    system("pause");
return 0;
}
......................
阅读全部 | waili0713 贴于 2017年5月19日 21:35     hide bbsi
#include <stdio.h>
int main()
{
int g;
scanf("%d",&g);
float f,m,t,r;
printf("boy=1,girl=2");
printf("father:");
scanf("%f",&f);
printf("mother:");
scanf("%f",&m);
if (g==1)
......................
阅读全部 | 我zy 贴于 2017年5月18日 23:24     hide bbsi
#include <stdio.h>
int main()
{
int g;
scanf("%d",&g);
float f,m,t,r;
printf("boy=1,girl=2");
printf("father:");
scanf("%f",&f);
printf("mother:");
scanf("%f",&m);
if (g==1)
......................
阅读全部 | 我zy 贴于 2017年5月18日 23:21     hide bbsi
上一页 73 74 75 76 77 78 79 80 81 82 下一页