首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#include<iostream>
#include<string>
#include<cstring>
using namespace std;
const n=100;
const m=50;

int stringmatch(char ch1[],char ch2[])
{
int i,j;
for(i=0;i<n-m;)
{
......................
阅读全部 | 一条沙丁鱼 贴于 2015年4月5日 20:34     hide bbsi
#include<stdio.h>
main( )
{
int i=1;
void union(List&La,List Lb){
La_len=ListLength(La);
Lb_len=ListLength(Lb);
for(i=1;i<=Lb_len;i++){
GetElem(Lb,i,e);
if(!LocateElem(La,e,equal( ))ListInsert(La,++La_len,e));
}
}
......................
阅读全部 | 刘新手 贴于 2015年4月4日 11:32     hide bbsi
#include<stdio.h>
main( )
{
int i=1;
void union(List&La,List Lb){
La_len=ListLength(La);
Lb_len=ListLength(Lb);
for(i=1;i<=Lb_len;i++){
GetElem(Lb,i,e);
if(!LocateElem(La,e,equal( ))ListInsert(La,++La_len,e));
}
}
......................
阅读全部 | 刘新手 贴于 2015年4月4日 11:28     hide bbsi
var p:int=3;
trace(p);
阅读全部 | zlj19900220 贴于 2015年4月3日 23:27     hide bbsi
求基于51单片机的利用蓝牙模块控制led灯的c语言
代码
阅读全部 | 杨蕾0601 贴于 2015年4月1日 13:30     hide bbsi
#include<stdio.h>
#include<math.h>
int main()
{
double a,b,c,dis,p,q;
printf("please intput a;b;c:");
scanf("%lf%lf%lf",&a,&b,&c);
dis=b*b-4*a*c;
p=-b/(2*a);
if(a!=0)
{

......................
阅读全部 | 夏日_ 贴于 2015年3月31日 19:23     hide bbsi
#include <iostream>
using namespace std;
class volume
{
private:
int length;
int width;
int heigth;
public:
void set_volume(void);
void show_volume(void);
};
......................
阅读全部 | hzj199603 贴于 2015年3月29日 22:26     hide bbsi
#include<stdio.h>
#include<stdlib.h>
#include<math.h>

typedef unsigned short int WORD;
typedef unsigned int DWORD;
typedef int LONG;
typedef unsigned char BYTE;

/*********** *********** *********** *********** *********** *********** ***********
* definition :struct
* Description :位图文件头
......................
阅读全部 | valerychen 贴于 2015年3月29日 13:57     hide bbsi
#include <malloc.h>
#include <iostream>
using namespace std;
#define error -1;
#define ok 1;
typedef int ElemType;
typedef int Status;
typedef struct LNode
{
    ElemType data;
    struct LNode *next;
}LNode,*LinkList;
......................
阅读全部 | 一天一天谎言 贴于 2015年3月28日 20:43     hide bbsi
#include <malloc.h>
#include <iostream>
using namespace std;
#define error -1;
#define ok 1;
typedef int ElemType;
typedef int Status;
typedef struct LNode
{
    ElemType data;
    struct LNode *next;
}LNode,*LinkList;
......................
阅读全部 | 一天一天谎言 贴于 2015年3月28日 20:42     hide bbsi
上一页 200 201 202 203 204 205 206 207 208 209 下一页