/************2017.7.5上午***********/
/*制作简单的英汉电子词典*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
char A[100][20];
char E[100][20];//英文
char C[100][20];//中文
int count;
int display();
void search();
void modify();
......................
阅读全部
|
bobotu
贴于 2017年7月7日 14:59
hide
bbsi
求大神帮忙啊 愁死啦
#include<iostream>
using namespace std;
#include<stdlib.h>
#include <time.h>
#include<string.h>
#define SIZE 4
typedef struct Car1
{
char number[15];
int artime;
int letime;
......................
阅读全部
|
卡萨丁1234
贴于 2017年7月3日 22:00
hide
bbsi
求大神帮忙啊 愁死啦
#include<iostream>
using namespace std;
#include<stdlib.h>
#include <time.h>
#include<string.h>
#define SIZE 4
typedef struct Car1
{
char number[15];
int artime;
int letime;
......................
阅读全部
|
卡萨丁1234
贴于 2017年7月3日 22:00
hide
bbsi
#include<stdio.h> /*引用库函数*/
#include<stdlib.h>
#include<ctype.h>
#include<string.h>
typedef struct /*定义结构体数组*/
{
char num[20]; /*学号*/
char name[10];
int Cnum;
int Enum;
int Mnum;}Student;
Student stu[80]; /*结构体数组变量*/
......................
阅读全部
|
DTIX
贴于 2017年7月2日 23:06
hide
bbsi
#include <stdio.h>
void dui(int A[]);
void cuo(void);
void panduan(int p[7][7]);
void shuru();
int i,j,k; //i是每个保安的变量,j是存放选择的天数,k是存放每人选择日期的变量
int p[7][7]; //存放选择的日期的变量,每个人选择的日期变量
int a ,b ,c ,d ,e ,f ,g ;
int ax,bx,cx,dx,ex,fx,gx; //确定选择个数的变量
int A[7]={0}; //比较
......................
阅读全部
|
XH_jing
贴于 2017年7月2日 17:38
hide
bbsi
#include <iostream>
using namespace std;
void meger(int a[],int b[],int m,int n);
int main()
{
int A[5]={1,5,3,7,9};//定义了第一个数组和值
int B[5]={2,4,8,6,10};//定义了第二个数组和值
meger(A,B,5,5);//调用函数
return 0;
}
void meger(int a[],int b[],int m,int n)
{
......................
阅读全部
|
H_Ace_Killer
贴于 2017年6月29日 11:01
hide
bbsi
#include<stdio.h>
int main()
{
int t,p;
long long n;
scanf("%d",&t);
while(t--)
{
scanf("%d%lld",&p,&n);
long long pre1=1,pre2=1,now;
if(n<=2){
printf("1\n");
......................
阅读全部
|
mimijilu
贴于 2017年6月28日 21:54
hide
bbsi