/*引用"air5116"改写计算器c4droid*/
#include "stdio.h"
#include "math.h"
void main()
{
v: printf
(" *********************\n");
printf
(" ** 1.加法运算 **\n");
printf
(" ** 2.减法运算 **\n");
printf
......................
阅读全部
|
espier
贴于 2014年11月12日 18:45
hide
bbsi
#include <iostream>
using namespace std;
void main()
{
cout<<"qqqqqq"<<endl;
}
阅读全部
|
fkd520
贴于 2014年11月11日 21:33
hide
bbsi
// 1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<iostream>
int main(int argc, char* argv[])
{
int i,j,k;
float a[3][4][5],submax[j],submin[j],subz,subave; //3个班级 4个科目 5个学生
for(i=0;i<=2;i++)
{
......................
阅读全部
|
naughty14
贴于 2014年11月9日 11:34
hide
bbsi
#include <stdio.h>
#include <string.h>
#define maxn 20
int a[maxn][maxn];
int main(int argc, char *argv[])
{
int n,x,y,tot=0;
scanf("%d",&n);
memset(a,0,sizeof(a));
tot=a[x=0][y=n-1]=1;
while(tot<n*n)
{
......................
阅读全部
|
neo1218
贴于 2014年11月7日 17:57
hide
bbsi
#include<stdio.h>
#include<malloc.h>
#define LEN sizeof(struct Student)
void main()
struct Student //结构体声明
{
long num;
int score;
struct Student* next;
};
int n;
阅读全部
|
dzhack
贴于 2014年11月6日 15:13
hide
bbsi
#include<stdio.h>
#include<malloc.h>
#define LEN sizeof(struct Student)
void main()
struct Student //结构体声明
{
long num;
int score;
struct Student* next;
};
int n;
阅读全部
|
dzhack
贴于 2014年11月6日 15:13
hide
bbsi
#include<stdio.h>
#include<string.h>
int count_chars(char const*str,char const*chars)
{
int a=strlen(str);
int b=strlen(chars);
printf("%d %d\n",a,b);
int i,j;
int count=0;
for(i=0;i<b;i++,chars++)
for(j=0;j<a;j++,str++)
if(*str==*chars)
......................
阅读全部
|
徐学贵
贴于 2014年11月4日 22:56
hide
bbsi
#include<stdio.h>
#include<string.h>
#define N 4
struct student
{
int xh;
char mz[20];
char xb;
int bj;
float yw;
float sx;
float yy;
......................
阅读全部
|
小神童
贴于 2014年11月4日 02:22
hide
bbsi
#include<stdio.h>
#include<stdlib.h>
#define LIST_INIT_SIZE 100
#define LISTINCREMENT 10
#define ElemType int
typedef struct LNode
{
ElemType data;
struct LNode *next;
int length;
}LNode, *LinkList;
......................
阅读全部
|
千里孤坟
贴于 2014年11月1日 22:50
hide
bbsi
#ifndef _List_H
#define _List_H
typedef int ElementType;
struct Node;
typedef struct Node *PtrToNode;
typedef PtrToNode List;
typedef PtrToNode Position;
List MakeEmpty();
int IsEmpty(List L);
int IsLast(Position P, List L);
......................
阅读全部
|
fdjiangwu
贴于 2014年11月1日 20:45
hide
bbsi