CommandLine - a command line parser class for C++
Copyright (C) 2002-2004, Klaus H. Probst [kprobst@vbbox.com]
Please see http://www.vbbox.com/cpp/ for more information.
-------------------------------------------------------------------------------
cmdline.h - Change log
v1 [12/13/03]
- First version. Dumb and barely functional.
v2 [12/21/03]
- First really useable version. Fully commented & tested.
- Documentation!
v3 [12/30/03]
- CompoundSwitchContains() - start enumeration of switch characters from one,
not zero.
- Added the Parse() method, which is useful when processing commands read from
a response file or something like that.
- GetValue() - switchName argument not used; removed.
- Added overloads of GetSwitch() and GetValue() that work on a TCHAR* instead
of an _argv index. GetValue() also now calculates the length of the value
correctly and takes into account quoted values, if present, which should be
passed only from the Parse() method.
- The first set of overloaded constructors now correctly test for UNICODE and
_WIN32_WINNT being defined and modify their behavior accordingly. Ditto for
the internal InitializeFromCommandLine() method. This is the only way the
class has to support command line parsing under non-console apps on Win9x and
ANSI builds on NT systems. When used this way the class simply points itself
to the __argc and __argv values exported from <stdlib.h>
- GetSwitch() - Test for _valueMarker being zero.
- cmdline.h now #defines _UNICODE if it is not yet defined and UNICODE is. This
won't help if you include any of the CRT headers before cmdline.h though, so
it's always better to just define it along with UNICODE.
- Added the default protected constructor. Useful for derived implementations.
- Added the IndexesOf and ValueOf methods to handle multiple duplicate switches.
- Added the CompoundValueContains() method.
- Test cases updated.
- Documentation updates.
v3 [01/18/04]
- Documentation updates only.
没有合适的资源?快使用搜索试试~ 我知道了~
verifying-line.rar_arrange4a3_basisrrq_duckszp_increase16t_对话框与窗
共15个文件
h:4个
cpp:3个
txt:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 170 浏览量
2022-09-20
11:11:02
上传
评论
收藏 65KB RAR 举报
温馨提示
一个checksum工具源代码 用于从命令行中生成和校验文件
资源推荐
资源详情
资源评论
收起资源包目录
verifying-line.rar (15个子文件)
ReleaseU
cmdlinetest.cpp 14KB
cmdline.h 38KB
Release
checksum.exe 68KB
Files
checksum.py 3KB
checksum.cs 6KB
cmdline.changelog.txt 2KB
checksum.rc 3KB
Rchecksum.cpp 21KB
DebugU
crc.h 3KB
checksum.dsp 7KB
StdAfx.cpp 295B
resource.h 412B
doc
StdAfx.h 666B
zchecksum.changelog.txt 1KB
Debug
cmdline.readme.html 56KB
共 15 条
- 1
资源评论
weixin_42651887
- 粉丝: 79
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功