1 Command && Cmdlet PowerShell 包含了,很多 不同类型的 可执行命令, 有些叫做Cmdlet , 有些叫做函数, 还有一些叫做工作流,等等 ?? 他们,共同的特点是,都是命令, 帮助系统中,都对他们进行了展示, 每个 cmdlet 在 PowerShell 中,都是唯一 ...
分类:
其他好文 时间:
2016-06-09 15:53:04
阅读次数:
235
1、strcpy(p2, c2 ); -------warning:Implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' // 使用strcpy(char *restrict ....
分类:
移动开发 时间:
2015-07-01 00:55:49
阅读次数:
191
对于字符类型的指针真的有很多很多要注意的地方,而且他是String,CString等各种字符串相互转换的桥梁。
使用上稍不注意就会出错。
1.初始化
char* pstr = "hello world.";这是一个指向字符串常量的指针,也就是说hello wrold.是不能被修改的。因为它存储在程序内存中的常量区。很多时候不注意就把pstr当做参数传递了。
所以我们初始化需要改变的...
分类:
其他好文 时间:
2015-06-25 09:02:00
阅读次数:
104
创建string: string (char[]) 使用指定的字符串数组构建一个新的string对象 Copy(string) 使用指定的string构建一个新的string对象 比较函数: Compare(a,b) 和a.CompareTo(b) 相等返回0,大于返回正数,小于返回负数; ...
Oracle时间段查询,TO_DATE和TO_CHAR使用对比...
分类:
数据库 时间:
2015-02-06 13:16:18
阅读次数:
212
一、数据类型1.基本数据类型 对于primitive主数据类型的变量来说,变量值就是多代表的值 数值型 整数类型(byte,short,int,long) 浮点类型(float,double) 字符型(char) 使用Unicod...
分类:
其他好文 时间:
2014-12-08 17:14:13
阅读次数:
153
#include<stdio.h> #include<stdlib.h> void f(const char *p) { ?char buf[4]={}; ??? _snprintf(buf, sizeof(buf), "%6s", p); ?printf("%c",buf); ??? printf("%2s",buf); } int main() { ?char s[4]...
分类:
其他好文 时间:
2014-07-22 09:06:03
阅读次数:
240
1、使用FileStream读写文件 文件头: using System;using System.Collections.Generic;using System.Text;using System.IO; 读文件核心代码: byte[] byData = new byte[100];char[]...
分类:
其他好文 时间:
2014-07-07 11:52:47
阅读次数:
151