一:学生信息的录入二:学生信息的打印三:学生信息的增加四:学生信息的查询五:学生信息的修改及复位六:学生信息的删减#include#include#define
NULL 0#define STU struct studentusing namespace std;STU{int num;float...
分类:
其他好文 时间:
2014-05-23 03:52:30
阅读次数:
271
【7.4】 1 #include 2 #include 3 #include 4 using
namespace std; 5 #define MAXN 100 6 7 typedef struct node{ 8 char data; 9 node
*lchild;10 ...
分类:
其他好文 时间:
2014-05-23 03:26:20
阅读次数:
260
【6.5】 1 #include 2 3 using namespace std; 4
#define MAXN 100 5 #define N 4 6 #define M 4 7 int x,y,num; 8 int a[MAXN][MAXN]
= { 9 {0,2,3,4},10 ...
分类:
其他好文 时间:
2014-05-23 03:06:42
阅读次数:
275
1 #include 2 3 4 using namespace std; 5 6 #define
MAX 255 7 8 typedef unsigned char BYTE; 9 10 typedef BYTE String[MAX+1]; 11 12
bo...
分类:
其他好文 时间:
2014-05-22 15:10:06
阅读次数:
278
call_user_method()(使用 call_user_func() 替代)
call_user_method_array() (使用 call_user_func_array() 替代)
define_syslog_variables() dl() ereg() (使用 preg...
分类:
Web程序 时间:
2014-05-22 15:08:51
阅读次数:
290
#include #define N 8using namespace std;int main(){
int a[N]={1,-1,2,-3,4,-5,6,-7}; int lis[N]; int result[N];//结果 for(int i=0;i
a[j] && lis[i] =0;t--...
分类:
其他好文 时间:
2014-05-21 19:51:31
阅读次数:
351
1 #include 2 #include 3 #include 4 #include 5
#include 6 #include 7 #include 8 9 #define maxx 1<<2110 using namespace
std;11 12 int mat[22][22],n,dp.....
分类:
其他好文 时间:
2014-05-21 19:00:25
阅读次数:
197
在Heat中完全使用aws的语法创建一套autoscaling的template。
流程:
Create LaunchConfig (Create basic instance, send mem status to ALARM) ->
Create ASGroup (Define instance num range) ->
Create ScaleUpPolicy (+1 in...
分类:
其他好文 时间:
2014-05-21 16:01:10
阅读次数:
315
//主功能接受:使用MCU STM8S105C6 的PWM通道2 PC2 来做呼吸灯 已经验证OK,呵
呵,这个PWM设置刚开始用还是有点麻烦,因为是自己摸索,花点时间,还是攻克了
。
//所用子函数都是调用STM8S的库函数stm8s_tim.c 中的。
宏定义:
//分频宏
//计数器的时钟频率(fCK_CNT)等于fCK_PSC/( PSCR[15:0]+1)。
#define TIM...
分类:
其他好文 时间:
2014-05-21 15:35:55
阅读次数:
291
/*
二. 栈的应用-迷宫解题
*/
#include
#include
#include
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
//坐标类型
typedef...
分类:
其他好文 时间:
2014-05-21 15:32:04
阅读次数:
353