⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test10.c

📁 安装DDD之前
💻 C
字号:
/* $Id: test10.c,v 1.1 2000/07/07 07:56:16 amai Exp $ *//* This is the 'short' version of the tests as in test[5-7];   This is really just the test as in the OSF manual - I didn't attempt   to make any explicit calls to initialize something ... */#include <stdlib.h>#include <stdio.h>#include <Xm/Xm.h>int main() {       XmSecondaryResourceData * block_array ;       Cardinal num_blocks, i, j ;       if (num_blocks = XmGetSecondaryResourceData (vendorShellWidgetClass,                                                    &block_array)) {         for (i = 0; i < num_blocks; i++) {           for (j = 0 ; j < block_array[i]->num_resources; j++) {             printf("%s\n", block_array[i]->resources[j].resource_name);           }           XtFree((char*)block_array[i]->resources);           XtFree((char*)block_array[i]);         }         XtFree((char*)block_array);       } exit(0);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -