UG二次开发常用函数模板
1、 uc1600 //获取字符串
头文件:#include <uf_ui.h>
2、 uc1603 //
int res = 0; int len = 0; char string[100]=""; res = uc1600( "",string , &len );//string:Input / Output if ( res == 5 || ( res== 3 && len > 0 ) ) { } else { }
头文件:#include <uf_ui.h>
用法1:
char title [100] = "菜单";
char items [3] [ 38 ] = { "选项1","选项2","选项3"};
choice = uc1603(title, 0, items, 3);
if (choice == 1 || choice == 2)
{
UF_terminate();
}
else
{
if (choice == )
{
}
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库UG二次开发常用函数模板在线全文阅读。
相关推荐: