首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#include<stdio.h>
#define PI 3.1415926
main()
{
int r;float *s;
float yuan(int,float);
scanf("%d",&r);
s=&yuan(r);
printf("圆的面积为",yuan(r));
        return 0;
}

......................
阅读全部 | 多久变大神 贴于 2015年4月6日 21:06     hide bbsi
#include <iostream>
#include <malloc.h>
using namespace std;
typedef struct
{
    float coef;
    int expn;
}ElemType;
typedef struct PolyNode
{
    ElemType data;
    struct PolyNode *next;
......................
阅读全部 | 一天一天谎言 贴于 2015年4月6日 15:48     hide bbsi
#include <iostream>
#include <malloc.h>
using namespace std;
typedef struct
{
    float coef;
    int expn;
}ElemType;
typedef struct PolyNode
{
    ElemType data;
    struct PolyNode *next;
......................
阅读全部 | 一天一天谎言 贴于 2015年4月6日 15:29     hide bbsi
#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
上一页 203 204 205 206 207 208 209 210 211 212 下一页