#include <iostream>
#include <string>
#include <cmath>
#include <fstream>
using namespace std;
int t;
fstream file;
class student
{public:
char event[40];
int num;
int a[5];
......................
阅读全部
|
wanghailong
贴于 2012年6月25日 16:16
hide
bbsi
/*********************************************
* 程序名:Luhd 轻型php模板编译类
* 版本: v1.0.2
* php版本要求 php ver5.2.0 或以上
* 提供者 tyds qq382596765 email tyds1@qq.com
* msn: luhdok@hotmail.com
* 欢迎技术交流 欢迎索要使用手册
***********************************************/
// Luhd 轻型php模板编译类定义文件
// CodeIgniter 框架下打开以下语句
......................
阅读全部
|
tyds
贴于 2012年6月22日 16:07
hide
bbsi
void insort(lnode *&l)
{
lnode *p,*q,*t;
if(l->next!=null&&l->next->next!=null)
{ p=l;
q=p->next;
while(q->next!=null)
{
p=l;
while(q->next->data>p->next->data&&p->next!=q)
p=p->next;
if(q->next->data>p->next->data)
......................
阅读全部
|
AllSunday
贴于 2012年6月15日 21:19
hide
bbsi
#include <stdio.h>
#include "string.h"
#define N 5
struct date
{
int month;
int day;
int year;
};
typedef struct /*自定义结构体*/
{ int num ; /*编号*/
char name[10]; /*姓名*/
......................
阅读全部
|
虎啸邪
贴于 2012年6月12日 18:16
hide
bbsi
#include <stdio.h>
#include "string.h"
#define N 5
struct date
{
int month;
int day;
int year;
};
typedef struct /*自定义结构体*/
{ int num ; /*编号*/
char name[10]; /*姓名*/
......................
阅读全部
|
虎啸邪
贴于 2012年6月12日 18:16
hide
bbsi
#include <stdio.h>
struct stu
{
char name[10];
int num;
int age;
char addr[15];
}boya[3],boyb[3],*pp,*qq;
main()
{
FILE *fp;
......................
阅读全部
|
chengjun0619
贴于 2012年6月10日 22:06
hide
bbsi
#include <stdio.h>
#include <string.h>
main()
{
FILE *fp;
char s[80],ch,key;
key=31;
if((fp=fopen("c:\\0.txt","r+"))==NULL)
{
printf("Cannot open file 0.txt");
getch();
exit(0);
......................
阅读全部
|
chengjun0619
贴于 2012年6月10日 22:03
hide
bbsi
公路收费系统模拟
设计内容:设计一个包含不少于10个收费站的高速公路网,公路里程和每公里的费用自行设定,编写程序模拟公路收费。
设计要求:选择合适的数据存储结构;(注:数据的输入可以是键盘输入或文件输入两种方式)输入上高速的收费站和下高速的收费站,系统计算两地之间的应缴费用。
阅读全部
|
紫暮梦夏
贴于 2012年6月10日 00:17
hide
bbsi