- 博客(7)
- 资源 (6)
- 收藏
- 关注
原创 Revit 二次开发求柱高度
作为一个Revit开发新手,又是个木有人教的娃,每前进一步都是折腾折磨呀。留点文档做纪念~ public Double GetColumHeight(Element elem) //elem为柱构件 { Double mHeight = 0; Double b_value=0;
2015-01-14 14:59:24 1759
转载 创建二维数组的方法(随时更新)
对于常规的方法:T [n][n]的方法我就不说了。首先介绍两个动态的创建方法,然后介绍一下C++标准的中使用STL的容器vector创建二维数组的方法。 1. 定义: const int ROW = 3; int size = 5; int (*pi)[ROW] = new int[size][ROW]; 操作方法: int k = 0; cout
2012-03-05 19:37:02 409
原创 sicily 1134 积木分发
#include #include using namespace std; #define ma 1000000000; struct ww { int a; int b; }; ww ni[10000]; bool comp(ww a,ww b) { return a.b } int main() { int n; int s; cin>>n
2012-01-10 14:53:41 382
原创 sicily 1155 Can I Post the letter
Description I am a traveler. I want to post a letter to Merlin. But because there are so many roads I can walk through, and maybe I can’t go to Merlin’s house following these roads, I must judge
2011-12-31 18:41:08 523
原创 从一个视图获取另一个视图(vc mfc)
从CTestView获取CSideView CView* CTestView::GetView(CRuntimeClass* pClass) { CTestDoc* pDoc=(CTestDoc*)GetDocument(); CView* pView; PO
2011-08-24 12:08:23 804
原创 屏幕坐标转化为世界坐标(vc opengl)
Point3D CSideView::TurnGLpoint(CPoint Tpoint) { Point3D Rp; GLint viewport[4]; GLdouble modelview[16]; GLdouble projection
2011-08-24 12:01:15 1177
C++ GUI Qt4编程(第二版)
2012-01-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人