摘要: // mapTest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include using namespace std; int main(int argc, char* argv[]) { map test; ... 阅读全文
posted @ 2017-03-29 17:24 sky20080101 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 头文件:#include <stdlib.h>函数 atof() 用于将字符串转换为双精度浮点数(double),其原型为: double atof (const char* str); atof() 的名字来源于 ascii to floating point numbers 的缩写,它会扫描参数 阅读全文
posted @ 2017-03-29 17:23 sky20080101 阅读(216) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Reflection; using System.IO; namespace WindowsFormCaller { static class Program { ... 阅读全文
posted @ 2017-03-29 10:30 sky20080101 阅读(824) 评论(0) 推荐(0) 编辑
摘要: C# 把引用的dll嵌入到exe文件中 当发布的程序有引用其它dll, 又只想发布一个exe时就需要把dll打包到exe 当然有多种方法可以打包, 比如微软的ILMerge,混淆器附带的打包... 用代码打包的实现方式也有很好,本文只是其中一种实现方式,不需要释放文件! 方法如下: 1.项目下新建文 阅读全文
posted @ 2017-03-29 09:54 sky20080101 阅读(633) 评论(0) 推荐(0) 编辑