首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
/*通讯录管理*/
 #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define M 50//记录最大值
int Menu_select(); 
typedef struct ElemType{
char name[20];
char tel[15];
char email[20];
char ad[15];
}ElemType;
......................
阅读全部 | 刘京佂 贴于 2015年4月9日 15:54     hide bbsi
/*通讯录管理*/
 #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define M 50//记录最大值
int Menu_select(); 
typedef struct ElemType{
char name[20];
char tel[15];
char email[20];
char ad[15];
}ElemType;
......................
阅读全部 | 刘京佂 贴于 2015年4月9日 15:49     hide bbsi
#include<stdio.h>
int main()
{
   printf("Hello bbs!/n");
   return 0;
}
阅读全部 | 唯风相随 贴于 2015年4月9日 09:28     hide bbsi
#include <stdio.h>
int main()
{
float x,y,result;
char w;
printf("イルラ1=");
scanf("%d",&x);
printf("イルラ2=");
scanf("%d",&y);
printf("ラヨキ・");
scanf("%c",&w);
switch (w)
......................
阅读全部 | KING泉 贴于 2015年4月8日 23:11     hide bbsi
void chsplit(char* source,char flag,char* dest)
{
int cout=0;
while(*source!='\0')
{
if(*source==flag) cout++;
if(cout<3)
{
*dest=*source;
source++;
dest++;
}
......................
阅读全部 | wp231957 贴于 2015年4月7日 10:27     hide bbsi
#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
上一页 203 204 205 206 207 208 209 210 211 212 下一页