06 2014 档案

小议函数指针
摘要:void f1(int *pi){ int *a = pi;}void f2(double *pd){ int *a = (int *)pd; *a = 2000;}class B{public: B():member(-1){} int member; int fu... 阅读全文

posted @ 2014-06-18 23:42 silyvin 阅读(157) 评论(0) 推荐(0) 编辑

OpenSees开发(一)windows 上编译opensees (使用vs2005)
摘要:先贴一段opensees的介绍“OpenSees的全称是Open System for Earthquake Engineering Simulation (地震工程模拟的开放体系)。它是由美国国家自然科学基金(NSF)资助、西部大学联盟“太平洋地震工程研究中心”(P... 阅读全文

posted @ 2014-06-15 01:04 silyvin 阅读(800) 评论(0) 推荐(0) 编辑

vector的push_back对于拷贝构造和赋值操作的调用
摘要:http://blog.csdn.net/silyvin/article/details/8985323对应与CArray,补充一个vector的测试。class A{ int *m_a; int bb;private: A();public: A(int n) { ... 阅读全文

posted @ 2014-06-08 09:43 silyvin 阅读(449) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示