上一页 1 ··· 4 5 6 7 8 9 10 下一页
2016年5月27日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace testBinary { class Program { static void Main(string[] a... 阅读全文
posted @ 2016-05-27 11:43 仰光 阅读(2376) 评论(0) 推荐(0)
2016年5月19日
摘要: 位运算示例 阅读全文
posted @ 2016-05-19 17:01 仰光 阅读(207) 评论(0) 推荐(0)
2016年3月13日
摘要: C# 封装 原生C++ 方法:1.C++ CLR(托管) 调用 C++(原生)2.C#调用C++ CLR , 注意各个平台编译版本需一致。3.C# 默认编绎生成版本是 any cpu , 需修改成 x86 平台 32 位版本注意事项:1.C++ CLR 模式编绎只能是 MD 模式。2.引用DLL,确 阅读全文
posted @ 2016-03-13 21:15 仰光 阅读(739) 评论(0) 推荐(0)
2015年8月4日
摘要: #!/bin/shfor p in ./*do if test -d $p then touch $p".ok" if test -f $p"/busi.xml" then echo "delete ${p}/busi.x... 阅读全文
posted @ 2015-08-04 17:23 仰光 阅读(458) 评论(0) 推荐(0)
2015年7月29日
摘要: linux shell 脚本格式#!/bin/sh#..... (注释)命令...命令...使用vi 创建完成之后需设置权限 chmod +x filename.sh执行命令: ./filename.shshell 中的局部变量变量的声明,赋值,无需 $ 符号 , 如:myUrl="abc"myVa... 阅读全文
posted @ 2015-07-29 17:34 仰光 阅读(200) 评论(0) 推荐(0)
2015年4月30日
摘要: 下载boost 库wget -O boost_last.zip http://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.zip?r=&ts=1430358339&use_mirror=jaist安装zipsud... 阅读全文
posted @ 2015-04-30 17:05 仰光 阅读(3404) 评论(0) 推荐(0)
2015年4月29日
摘要: 在使用openssl 库前,需检测是否安装openssl , shell 窗口输入:openssl version , 在openssl 安装完成之后, 可通过vi 编写测试代码 。本例中附上加密,解密代码,方法分别是: EncodeRSAKeyFile(...) , DecodeRSAKeyFil... 阅读全文
posted @ 2015-04-29 15:43 仰光 阅读(3206) 评论(0) 推荐(0)
2015年4月28日
摘要: 运行openssl demo 时,debug 版本正常,release 版本报异常:OPENSSL_Uplink(585E6000,08): no OPENSSL_Applink 。demo 编译环境是vs2008 , openssl 库编译环境是 vs2010 , 用 depends 工具分析Li... 阅读全文
posted @ 2015-04-28 17:49 仰光 阅读(608) 评论(0) 推荐(0)
2015年4月27日
摘要: gcc 编译器是众多编译器组合入口,例如在编译 .cpp 文件时,使用c++ 编译器,编译.c 文件时,使用c编译器。 在编译c++程序时, 库文件与头文件可通过 -L[dir] 指定库目录 , -l[name] 指定库文件名称。指定库文件名称时,需按照指定范式。例如库文件 libabc.a , [... 阅读全文
posted @ 2015-04-27 17:54 仰光 阅读(492) 评论(0) 推荐(0)
2015年4月22日
摘要: linux 环境,用户通过shell 操作时,系统会为用户初使化环境变量, 比如系统公共资源路径: path , include , bin 等目录。 shell 模式下,执行 export , 查看用户环境变量 , echo $key 查询某个环境变量。设置环境变量,有两种方式,分为临时设置,与永... 阅读全文
posted @ 2015-04-22 17:42 仰光 阅读(384) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页