资源简介
包含一个ppt及源代码.源代码中包含常见的选择集,自定义实体及其反应器等等。
代码片段和文件信息
// (C) Copyright 2002-2005 by Autodesk Inc.
//
// Permission to use copy modify and distribute this software in
// object code form for any purpose and without fee is hereby granted
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM “AS IS“ AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Use duplication or disclosure by the U.S. Government is subject to
// restrictions set forth in FAR 52.227-19 (Commercial Computer
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
// (Rights in Technical Data and Computer Software) as applicable.
//
//-----------------------------------------------------------------------------
//----- acrxEntryPoint.h
//-----------------------------------------------------------------------------
#include “StdAfx.h“
#include “resource.h“
//-----------------------------------------------------------------------------
#define szRDS _RXST(“lxm“)
/* Utility definition to get an array‘s element count (at compile
time). For example:
int arr[] = {12345};
...
printf(“%d“ ELEMENTS(arr));
would print a five. ELEMENTS(“abc“) can also be used to tell how
many bytes are in a string constant INCLUDING THE TRAILING NULL. */
#define ELEMENTS(array) (sizeof(array)/sizeof((array)[0]))
/* All the functions that we‘ll define will be listed in a single table
together with the internal function that we call to handle each. The
functions all take a single argument (the resbuf that has the
arguments) and return an integer (RTNORM or RTERROR for good or bad
status). */
/* First define the structure of the table: a string giving the AutoCAD name
of the function and a pointer to a function returning type int. */
struct func_entry { TCHAR *func_name; int (*func) (struct resbuf *); };
/* Here we declare the functions that handle the calls; at the moment there are
two of them. */
int fact (struct resbuf *rb);
int squareroot (struct resbuf *rb);
int add (struct resbuf *rb);
/* Here we define the array of function names and handlers. */
static struct func_entry func_table[] = { {_T(/*MSG0*/“fact“) fact}
{_T(/*MSG0*/“sqr“) squareroot}
{_T(/*MSG0*/“myadd“) add}
};
/* To add more functions to this table just put them in the list after
declaring the function names. Note that in standard C it‘s all right to
have a superfluous comma after the last item. */
/* The code from here
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 234496 2011-11-15 15:29 Arx程序开发.ppt
目录 0 2012-03-12 11:11 示例\
目录 0 2011-11-15 17:08 示例\与lisp交互\
文件 49 2011-10-18 14:54 示例\与lisp交互\add.lsp
文件 47 2011-10-18 14:53 示例\与lisp交互\add.lsp.bak
目录 0 2012-03-12 11:11 示例\与lisp交互\win32\
目录 0 2011-10-18 14:54 示例\与lisp交互\与lisp交互\
文件 1895 2011-10-18 13:50 示例\与lisp交互\与lisp交互\DocData.cpp
文件 1692 2011-10-18 13:50 示例\与lisp交互\与lisp交互\DocData.h
文件 433 2011-10-18 13:50 示例\与lisp交互\与lisp交互\Resource.h
文件 1371 2011-10-18 13:50 示例\与lisp交互\与lisp交互\StdAfx.cpp
文件 4551 2011-10-18 13:50 示例\与lisp交互\与lisp交互\StdAfx.h
目录 0 2012-03-12 11:11 示例\与lisp交互\与lisp交互\Win32\
文件 10375 2011-10-18 14:54 示例\与lisp交互\与lisp交互\acrxEntryPoint.cpp
文件 2429 2011-10-18 13:50 示例\与lisp交互\与lisp交互\与lisp交互.cpp
文件 2166 2011-10-18 13:50 示例\与lisp交互\与lisp交互\与lisp交互.rc
文件 5766 2011-10-18 13:50 示例\与lisp交互\与lisp交互\与lisp交互.vcproj
文件 1477 2011-10-18 15:13 示例\与lisp交互\与lisp交互\与lisp交互.vcproj.WWW-9D451BD3E11.Administrator.user
文件 904 2011-10-18 13:50 示例\与lisp交互\与lisp交互.sln
文件 15872 2011-10-18 15:13 示例\与lisp交互\与lisp交互.suo
目录 0 2011-11-15 17:08 示例\创建实体对象\
目录 0 2012-03-12 11:11 示例\创建实体对象\win32\
目录 0 2011-10-19 10:00 示例\创建实体对象\创建实体对象\
文件 1895 2011-10-17 16:40 示例\创建实体对象\创建实体对象\DocData.cpp
文件 1692 2011-10-17 16:40 示例\创建实体对象\创建实体对象\DocData.h
文件 435 2011-10-17 16:40 示例\创建实体对象\创建实体对象\Resource.h
文件 1371 2011-10-17 16:40 示例\创建实体对象\创建实体对象\StdAfx.cpp
文件 4551 2011-10-17 16:40 示例\创建实体对象\创建实体对象\StdAfx.h
目录 0 2012-03-12 11:11 示例\创建实体对象\创建实体对象\Win32\
文件 5161 2011-10-19 10:00 示例\创建实体对象\创建实体对象\acrxEntryPoint.cpp
文件 2419 2011-10-17 16:40 示例\创建实体对象\创建实体对象\创建实体对象.cpp
............此处省略107个文件信息
- 上一篇:FIR滤波器的verilog代码
- 下一篇:cuda实现LU分解线性方程源代码
评论
共有 条评论