自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(11)
  • 收藏
  • 关注

原创 环境变量

Action(){    char * temp = (char *) getenv("TEMP");    char env[512];    long file;    if (temp) {        lr_output_message("tem

2011-08-03 11:15:27 261

原创 字符串函数总结

连接:strcat strncat搜索:strchr strrchr strstr比较:strcmp stricmp strncmp strnicmp复制:strcpy strdup strncpy长度:strlen大小写:strlwr strupr替换:

2011-08-02 15:05:51 277

原创 strspn

Action(){    char fullpath[] = "Linux was first developed for 386/486-based pcs.";    int num;    num = strspn(fullpath, "Linux w");

2011-08-02 14:15:55 296

原创 字符串全用字符代替

Action(){    char fullpath[] = "c:\\tmp\\logfile.txt";    strset(fullpath, 'x');    lr_output_message("%s", fullpath);}

2011-08-02 14:00:48 398

原创 把integer转换成string,并只连接一段

Action(){    char strId[512];    int id, length;    lr_whoami(&id, NULL, NULL);    sprintf(strId, "%d_", id);    length = 8 - st

2011-08-02 11:25:29 410

原创 复制lr_whoami中的组名,并变为小写

Action(){    char * ogroupName, * groupName;    int id, scid;    lr_whoami(&id, &groupName, &scid);    lr_output_message("id:%d\ts

2011-08-02 10:37:06 745

原创 比较和不区分大小写比较

Action()  {    char string1[] = "The quick brown dog jumps over the lazy fox";     char string2[] = "The QUICK brown dog jumps over th

2011-08-01 16:05:28 1922

原创 第一个字符出现后的所有字符串

Action()  {    char fullpath[] = "c:\\tmp\\logfile.txt";    char * first_t, * first_g, * first_b;    first_t = (char *) strchr(ful

2011-08-01 15:41:24 443

原创 目标字符串足够长才能连接字符串

Action() {    char fullpath[1024] = "c:\\tmp";    char filename[] = "logfile.txt";     //strcpy(fullpath, "c:\\tmp");     strcat(f

2011-08-01 15:16:32 250

原创 loadrunner文件操作

c:\\test.txt11112222333344445555 #define FILEADDRESS "c:\\test.txt"Action() //从test.txt读取5行十进制整数数据{    int file, i, l

2011-08-01 14:27:37 825 1

原创 loadrunner中web_url()的想法

The web_url function is an action function that loads the Web page (GET request) specified by the URL argument. The web_url function does no

2011-08-01 13:53:25 3763

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除