第五步:看到默认产生的代码了,在todo:add your application code here下面添加自己代码* S( M# R+ G* p" @& j g3 N
/ {/ o$ Q0 `" m
7 `! W) q2 \5 H$ ` double corner_pt[3]={10,10,10};
3 P. M. S" E+ h; f# H+ C char * edge_len[3]={"30","20","10"};
8 t& H. H- S3 h& ?5 H1 h tag_t blk_tag;, ]5 f8 _' l& R5 Y5 M
" Y: W* r+ U/ C9 s: h: T2 T! E* q UF_MODL_create_block1(UF_NULLSIGN,corner_pt,' G. \( N( K' h0 Z# g! J3 K
edge_len,&blk_tag);. _9 a+ F( U6 r: O; V3 p
8 \; u( g8 z2 O# [+ a
3 s* q9 d. U6 o* c; I
添加头文件:#include <uf_modl.h> 什么在哪,就在上面,望上看,加在后面" @. D- X) U/ B( o
Q. \; x6 T1 |& E3 ], v* @. `
7 h6 \1 f7 `5 b9 [1 I* | ?9 S
& A* n; G0 e' [- U/ h4 ~0 F$ q附件' b+ ^7 Q0 s2 ~) g, Q- Y X
2007-7-3 18:32
' @1 l! e' W" F: ?, T1 p; O
# N/ J* _" Y1 M5 ~5 ?5 u& i' j, J Snap4.gif (26.44 KB) * H* I" Z# |* m8 x& ~; l
" [2 I5 }, ]$ \7 R( h; E
|