#include
#include
#include
#include
#include
#define MAXLINE 4096
int main(void)
{
char buf[MAXLINE];
pid_t pid;
int status;
printf("%% ");
while(fgets(buf,MAXLINE,stdin) != NULL)
{
...
分类:
系统相关 时间:
2015-04-26 19:49:58
阅读次数:
283
enum Status{kValid=0, KInvalid};int g_nStatus=kValid;int StrToInt(const char *str){ g_nStatus=KInvalid; long long num=0; if((str!=NULL)&&(*st...
分类:
其他好文 时间:
2015-04-26 18:07:45
阅读次数:
136
json的定义json能够通过4种基本数据类型以及2种结构化数据表示字符串"footbar"不能使用单引号数值125.4只支持10进制布尔true falsenull值null对象{"xx":11,"ee":44,"rr":"ffeterd"}属性名只能是字符串而不能使用{xx:11}这样的字面量数...
分类:
Web程序 时间:
2015-04-26 18:02:09
阅读次数:
136
流行的strcpy函数写法是:[cpp]view plaincopychar*my_strcpy(char*dst,constchar*src){assert(dst!=NULL);assert(src!=NULL);char*ret=dst;while((*dst++=*src++)!='\0')...
分类:
其他好文 时间:
2015-04-26 16:33:34
阅读次数:
147
#lang racket(define (accumulate op initial seq) (if (null? seq) initial (op (car seq) (accumulate op initial (cdr seq)))) );accumulat...
分类:
其他好文 时间:
2015-04-26 12:23:30
阅读次数:
205
use cangku create table cangkubiao(cno varchar(50) primary key not null,city varchar(50)not null,mianji int not null)insert into cangkubiao values('wh...
分类:
其他好文 时间:
2015-04-26 12:20:48
阅读次数:
243
修改 这个 方法 如下。 排除 null 值。 /// /// 修改 多数 数据, 个别数据除外, proNames 不写 则是 修改全部 /// /// 要修改的实体对象(对面 过滤null 值) /// 不需要要修改的 属性 名称...
分类:
Web程序 时间:
2015-04-26 12:11:32
阅读次数:
248
LoadRunner函数中文翻译系列之三--Concurrent Groupweb_concurrent_start 语法: int web_concurrent_start ( [char * ConcurrentGroupName,] NULL );参数: ConcurrentGroupName...
分类:
Web程序 时间:
2015-04-26 12:06:24
阅读次数:
119
MySQL更改数据库表的存储引擎
1、查看表的原存储引擎
show create table user;
'user', 'CREATE TABLE `user` (\n `id` int(11) NOT NULL DEFAULT \'0\',\n `num` int(8) DEFAULT NULL,\n `name` varchar(20) DEFAULT NULL,\n...
分类:
数据库 时间:
2015-04-26 10:52:09
阅读次数:
191
create table Student(Sno char(3) primary key,Sname char(8) not null,Ssex char(2) not null,Sbirthday datetime,Class char(5));create table Course(Cno va...
分类:
数据库 时间:
2015-04-26 10:38:30
阅读次数:
213