SVN部署(远程)服务器篇

摘要: WINDOWS 20031.下载并安装 Subversion服务器程序,假设安装在 C:/Program files/subversion。2.建立 repository,c:cd "C:\Program Files\Subversion\bin"svnadmin c... 阅读全文
posted @ 2014-04-17 00:20 silyvin 阅读(973) 评论(0) 推荐(0)

SVN部署(本地)

摘要: 1.安装TortoiseSVN2.建立Repository。在F:/下建立文件夹SVN_NATIVE_REPOSITORY, —— 》3.在其他任意路径建立任意名称的路径,这里为D:\MSVC Project\SVN_WORK,确保该文件夹为空右键单击,点击SVN C... 阅读全文
posted @ 2014-04-16 22:59 silyvin 阅读(597) 评论(0) 推荐(0)

阶乘、阶乘之和的函数式风格实现

摘要: #include template class Factorial{public: static int const vl = N * Factorial::vl;};template class Factorial{public: static int const ... 阅读全文
posted @ 2013-10-11 22:12 silyvin 阅读(152) 评论(0) 推荐(0)

DLL 导出类

摘要: http://www.cnblogs.com/cswuyg/archive/2011/10/06/DLL2.html编写DLL所学所思(2)——导出类http://www.cppblog.com/suiaiguo/archive/2009/07/20/90663.ht... 阅读全文
posted @ 2013-08-14 17:15 silyvin 阅读(94) 评论(0) 推荐(0)

如何在AutoCAD中实现鼠标双击事件

摘要: 摘要:本文为在AutoCAD ObjectARX二次开发中遇到的鼠标双击事件提供了多种解决方法。在AutoCAD编程中,开发者可能会有这样一个好想法,或者用户有这么一个需求:当用鼠标双击某个实体的时候,弹出一个窗体,显示实体的属性,比如说,一所学校的名称、座落等信息。... 阅读全文
posted @ 2013-07-08 16:27 silyvin 阅读(982) 评论(0) 推荐(0)

在VS中用CLAPACK解决广义特征值问题

摘要: CLAPACK是LAPACK的C语言接口。LAPACK的全称是Linear Algebra PACKage,是非常著名的线性代数库。LAPACK是用Fortran写的,为了方便C/C++程序的使用,就有了LAPACK的C接口库CLAPACK。现在通过使用CLAPACK... 阅读全文
posted @ 2013-06-16 01:26 silyvin 阅读(630) 评论(0) 推荐(0)

再议:__cdecl与__stdcall 调用约定在动态链接库调用中不同的表现

摘要: dll中函数声明 dll中函数名 void __declspec(dllexport) add(int, int)?add@@YAXHH@Z extern "C" void __declspec(... 阅读全文
posted @ 2013-05-28 15:52 silyvin 阅读(201) 评论(0) 推荐(0)

CArray 的两种方式与类中包含指针情况

摘要: 参考:http://bbs.csdn.net/topics/390452085项目很复杂,我简化了下代码考虑一个类进 CArray class A{ int *m_a;public: A()//不带参数构造函数,只是为了通过编译 { int fenge = 4; }... 阅读全文
posted @ 2013-05-28 08:40 silyvin 阅读(253) 评论(0) 推荐(0)

函数传值 复制构造函数 深度拷贝

摘要: class A{ int *m_pi;public: A() { m_pi = new int; } ~A() { delete m_pi; }};void func(A _a){ int a = 0;}void main(){ A a; func(a);}运行... 阅读全文
posted @ 2013-05-07 21:51 silyvin 阅读(125) 评论(0) 推荐(0)

C++ 中dynamic_cast的使用方法

摘要: /*这是从网上摘下的例子,主要讲述了 dynamic_cast 的使用方法。*/ /* 作用:将一个基类对象指针(或引用)cast到继承类指针,dynamic_cast会根据基类指针是否真正指向继承类指针来做相应处理, 即会作一定的判断。 ... 阅读全文
posted @ 2013-05-06 16:16 silyvin 阅读(157) 评论(0) 推荐(0)