void CreateOptionDialogTest(int *list, int nr, ChessProgramState *cps) { int line; for(line = 0; line < nr; line+=2) { PrintOpt(list[line+1], 0, cps); PrintOpt(list[line], 1, cps); } }
void CreateOptionDialogTest(int *list, int nr, Option *optionList) { int line; for(line = 0; line < nr; line+=2) { PrintOpt(list[line+1], 0, optionList); PrintOpt(list[line], 1, optionList); } }
void usage() { const SIZE_T nCommands = sizeof(_cproc_table) / sizeof(_cproc_table[0]); SIZE_T i; _tprintf( _T("Copyright (C) 2003-2006 XIMETA, Inc.\n") ); for (i = 0; i < nCommands; ++i) { _tprintf(_T(" - ")); PrintCmd(i); _tprintf(_T(" ")); PrintOpt(i); _tprintf(_T("\n")); } }
void usage() { const SIZE_T nCommands = sizeof(_cproc_table) / sizeof(_cproc_table[0]); SIZE_T i; _tprintf( _T("Copyright (C) 2003-2005 XIMETA, Inc.\n") _T("vendorctl: command line vendor-control for NDAS device\n") _T("\n") _T(" usage: vendorctl <command> [options]\n") _T("\n")); for (i = 0; i < nCommands; ++i) { _tprintf(_T(" - ")); PrintCmd(i); _tprintf(_T(" ")); PrintOpt(i); _tprintf(_T("\n")); } _tprintf(_T("\n<NetDisk ID> : 20 characters\n")); _tprintf(_T("<WriteKey> : 5 characters\n")); }